Skip to content

Guide

SEOpen is open source: run it yourself, or let us run it

By Published

SEOpen is an open source SEO platform. The code is public under AGPL-3.0 at github.com/SEOpen/seopen. You get the same app and MCP server, with the modules you use on getseopen.com. Plans, billing, the marketing site, the free tools and our hosting setup aren't included, and you bring your own DataForSEO account.

You can run it on your own machine or server, or use the hosted version, where we handle the schedules, the data bill and the updates. SEOpen is for developers, founders and freelancers who run a few sites.

What's in the repository

The app, its MCP server, and the worker that runs the scheduled checks:

  • Search Console and analytics. Synced daily and kept, so your history outlasts Google's 16 months. Each project's Overview says what changed.
  • Rank tracking. Google positions every day, from a country or a city, on desktop or mobile. A weekly check looks down to position 100 and records AI Overviews.
  • Site audits. A crawl of 500 pages by default, or up to 5,000, with a health score. Issues are sorted into errors, warnings and notices, and you can compare two crawls.
  • Keyword and domain research. Keyword ideas and saved lists, a domain's ranked keywords, top pages and competitors, the keyword gap, and content briefs.
  • Backlinks. Referring domains, links, anchors and the link gap.
  • Local SEO. Where a Google Maps listing ranks across a 3×3, 5×5 or 7×7 grid around it.
  • AI visibility. The prompts you track, asked every Monday or when you run them: whether AI answers mention or cite your site, and who else they name.
  • The fix list. What to fix on each site, a check that each change is on the live page, and, with Search Console connected, the page's clicks before and after. You or your coding agent make the change in your own code.
  • The MCP server. Claude Code and other MCP clients can read your projects and, if you allow it, record fixes.
  • Admin. Spend caps, spend by module, a ledger of paid calls, and the background jobs.

Each button that spends money shows its approximate cost first. Research pages make a paid call only when you click Run, and saved results load free.

What isn't in it

  • Plans and billing. A copy you run has no plans and nothing to buy.
  • The marketing site, with these guides and the product docs. The docs at getseopen.com/docs describe the hosted version. For a copy you run, read the README and the docs folder in the repository.
  • The free tools on getseopen.com.
  • Our hosting setup. You get a Dockerfile and a Compose file, not the infrastructure we run on.
  • Data. Keyword, ranking, backlink, audit and AI data comes from your own DataForSEO account. Search Console and GA4 come through your own Google Cloud project.

Self-hosted or hosted

Hosted by usRun by you
PriceFree for one site, $29 a month for two sites or $79 for fiveThe software is free to run; DataForSEO bills you for data
Search dataIncluded, up to your plan's limitsYour own DataForSEO account
Limits1, 2 or 5 projects, with research credits on Starter and ProNo plan limits; paid calls stop at monthly caps you can change
What you set upSign in and connect GoogleDocker, which starts the worker too, or Node, Postgres and the worker
Google accessOur Google appYour own Google Cloud project; sign-in shows a warning screen until Google verifies your app
AnalyticsGA4 or PostHogGA4, PostHog, Plausible or Umami, with the conditions below
Updates and securityOursYours

Each project uses one analytics source. On a copy you run:

  • PostHog connects only when the copy has a public https address, because PostHog has to reach it.
  • Plausible means Plausible's cloud, with a Stats API key. Umami means Umami Cloud, or your own Umami at a public https address. Both are built and tested against simulated responses only. Neither has been tried with a real account yet.

Run it yourself if you're happy to look after Docker, a worker and a Google Cloud project, and to pay DataForSEO directly. Use the hosted plans if you'd rather not.

What the data costs

DataForSEO bills you for each call, usually fractions of a cent. Some calls happen on a schedule, without a click:

  • Backlinks: weekly, once you add a project.
  • Rank tracking, AI visibility and Local SEO: once they have keywords, prompts or a listing to check.
  • Site audits: once you turn on the weekly re-crawl.

Two caps stop paid calls, both in Admin → Spend:

  • The platform cap, on everything the copy spends with DataForSEO in a month: $100 by default.
  • The owner workspace cap, on your own workspace: $75 by default, set with DATAFORSEO_MONTHLY_CAP_USD.

Check /admin/spend in your first week to see what your projects use.

Run it with Docker

You need Docker with Compose, and a DataForSEO account. Get the code and make your settings file:

git clone https://github.com/SEOpen/seopen.git
cd seopen
cp .env.example .env

In .env, set at least:

  • SEOPEN_SECRET_KEY: the output of openssl rand -base64 32
  • POSTGRES_PASSWORD: any password, letters and digits
  • DATAFORSEO_LOGIN and DATAFORSEO_PASSWORD: the API password from app.dataforseo.com/api-access, not your account password

Then build and start it:

docker compose up -d --build

Open http://127.0.0.1:4100. On your own machine it opens without a password. A one-off migrate service applies the database migrations first, and the web app and the worker start once it's done: docker compose logs migrate says "migrations applied".

To update, pull the new code and run docker compose up -d --build again. The migrate service applies any new migrations before the app starts.

Run it with pnpm

You need Node 24, pnpm 9 and Postgres 17. In the folder you cloned:

pnpm install
createdb seopen && createdb seopen_test
cp .env.example .env.local   # set SEOPEN_SECRET_KEY and the DataForSEO login, as above
pnpm db:migrate
pnpm dev                     # http://127.0.0.1:4100, no password needed
pnpm worker:dev              # in a second terminal: the background jobs

.env.example expects a local Postgres that lets you in without a password. If yours doesn't, change DATABASE_URL in .env.local before pnpm db:migrate.

The worker makes real paid calls on its schedules, so stop it when you're not using it. Run one worker per database. Two run, and pay for, every scheduled job twice.

Have a coding agent set it up

The README has a prompt to paste into Claude Code or another coding agent, opened in the folder you cloned. It sets up the app on your machine, adds no sites, and leaves the DataForSEO login for you to fill in.

Connect Google

Search Console and GA4 need your own Google Cloud project, with the Search Console API, the Analytics Data API and the Analytics Admin API turned on, and a web OAuth client. Put the client's ID and secret in GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET. SEOpen asks for read-only access to your Search Console and Analytics data.

Set the app's publishing status to In production. While it's in Testing, Google ends each connection 7 days after you allow it. Until Google verifies your app, sign-in shows a warning screen. The steps are in docs/google.md.

To look around first, set SEOPEN_GOOGLE_FIXTURES=1, and the Search Console and GA4 pages fill in with generated data. DataForSEO has no switch like it, so research, rankings, audits, backlinks, Local SEO and AI visibility need a real account.

Connect an agent

Make a key at /agents in your copy. It's read-only unless you tick Can make changes. The page then shows the settings for Claude Code and other MCP clients, with your copy's own address, which ends in /api/mcp. A copy at 127.0.0.1 can only be reached by an agent on the same machine.

Put it on a server

Securing a copy you put online is your responsibility, and SEOpen comes with no warranty.

  1. Remove SEOPEN_NO_LOGIN from the env file.
  2. Give the owner a password. The account made without a login is owner@seopen.localhost:
pnpm user:password owner@seopen.localhost
docker compose exec web pnpm user:password owner@seopen.localhost   # in Docker
  1. Restart the app. In Docker, use docker compose up -d --build, so it reads the changed .env. Then open it from another device and check that it asks for a password.

The web app listens on 127.0.0.1:4100 only. To serve it on a domain, put a reverse proxy with TLS on the same machine in front of it, set BETTER_AUTH_URL to the https address people open, and set GOOGLE_REDIRECT_URI to match. The other settings, for proxies, email, alerts and more accounts, are in docs/self-hosting.md.

The licence

SEOpen is under the GNU Affero General Public License, version 3 only. You can run it, change it and share it. If you share a copy, or let other people use a changed copy over a network, you must offer them its source under the same licence.

The licence doesn't cover the SEOpen name and logos. A copy you offer to other people needs its own, and TRADEMARKS.md says what's fine without asking.

Questions

Is SEOpen really free to self-host?
The software is: no plan limits, and nothing to buy from us. The data isn't. DataForSEO bills your own account for each call, and the scheduled checks spend without a click. Two monthly caps stop paid calls, $100 for the copy and $75 for your workspace by default, and you can change both. If you put it on a server, you pay for that too.
Can I contribute?
Issues are welcome: bugs, missing self-hosting steps and ideas. Code from outside the team needs a signed contributor licence agreement, CLA.md in the repository, and you keep the copyright in your work. CONTRIBUTING.md says whether the bot that collects signatures is on. Until it is, pull requests from outside are closed unmerged. Security problems go by email, as SECURITY.md says, not in an issue.