Self-host OpenSEO on your own VPS: an open-source Semrush and Ahrefs alternative with MCP

Deploy OpenSEO with RustFS and Nginx on your own Linux server using Zenavo's template, configure your DataForSEO API key, lock down the initial admin account, and connect its MCP server to Claude Code or Cursor.

This post is also available in 简体中文, 繁體中文, 日本語, Español and Bahasa Indonesia.

SEO suites like Semrush and Ahrefs often cost well over $100 per seat every month, even when a team only runs keyword research, rank checks and site audits a few times a week. OpenSEO is an open-source, self-hostable alternative that covers keyword research, rank tracking, backlink analysis, technical site audits and AI visibility tracking—while letting you pay DataForSEO per API request instead of paying a recurring SaaS seat fee. It also ships a built-in MCP server so coding and research agents like Claude Code and Cursor can query SEO data directly.

This guide deploys OpenSEO on your own Linux server using Zenavo's template. Your server, Zenavo and DataForSEO API usage are billed separately.

1. Deploy the OpenSEO template

Connect a Linux server to Zenavo with at least 3 GB of memory (4 GB recommended if you run other services on the same machine), open the OpenSEO template, choose your server and deploy.

When the template prompts you for the site's HTTPS URL (for example https://seo.example.com), enter the exact domain you plan to bind.

The project starts with OpenSEO together with RustFS (S3-compatible object storage) and Nginx (web) wired over the project private network:

Component Role in the stack Configuration notes
openseo Main application & MCP endpoint Stores DATAFORSEO_API_KEY and encryption/storage secrets
rustfs S3-compatible object storage Holds stored reports, snapshots and assets on a persistent volume
web (Nginx) Reverse proxy entrypoint Bind your custom HTTPS domain here

2. Bind your domain and claim the admin account immediately

  1. On the web service's Networking tab, bind the custom domain you entered during template setup (for example seo.example.com) and point its DNS A record to your server. See Domains & HTTPS.
  2. As soon as all services turn Running, open https://seo.example.com and create the admin account right away.

Claim the admin account immediately after deployment: OpenSEO treats the first visitor who registers as the workspace administrator and locks public sign-ups afterwards. Don't leave a newly deployed instance sitting open before creating your account.

3. Add your DataForSEO API key

OpenSEO separates the interface from upstream SEO data so you only pay for the lookups you actually run:

  1. Create an account on DataForSEO and copy your API credentials.
  2. In Zenavo, open the openseo service's Variable tab and set DATAFORSEO_API_KEY.
  3. Save and redeploy openseo so the running container picks up the new variable.

If you also run OpenSEO's AI visibility checks, configure your model provider key as prompted in OpenSEO's settings—or route requests through a self-hosted model gateway in your Zenavo account such as LiteLLM or New API.

4. Connect OpenSEO's MCP server to AI agents

Because OpenSEO exposes an MCP server, you don't have to export CSVs just to review keyword gaps or audit findings:

  • Content & technical SEO workflow: connect Claude Code or Cursor to OpenSEO's MCP endpoint so your agent can pull keyword volumes, SERP competitors and site audit issues straight into your repository while editing pages.
  • Pair with zenavo-mcp: if you deploy your marketing site or Next.js app on Zenavo too, you can pair OpenSEO's MCP with Claude Code and zenavo-mcp to fix meta tags, sitemaps and redirects and deploy the update from the same conversation.

5. Backups and troubleshooting

  • Persistent data: back up your project's persistent volumes regularly under Backup & Restore (see Backups & Restore), and store your admin password and DATAFORSEO_API_KEY in a password manager such as self-hosted Vaultwarden.
  • Quick log diagnostics: if web returns a 502 right after launch or openseo fails a health check, click Zenavo Agent on the right edge of the console to inspect container logs and environment variables in one step. See Zenavo Agent.

FAQ

How much memory does OpenSEO need on Zenavo? Plan for about 3 GB of memory on the server running the OpenSEO project. If a 1 GB or 2 GB VPS runs out of memory during startup or crawls, resize the server or move the project to a 4 GB node.

Why did login or callbacks fail after I bound my domain? The HTTPS URL entered when deploying the template must match the custom domain bound to the web service. If you changed domains later, update the URL variable on openseo / web and redeploy.

Do I pay Zenavo or DataForSEO for SEO data? You pay DataForSEO directly per API request using your own DATAFORSEO_API_KEY. Zenavo only bills for your control-plane plan, and your VPS provider bills for the server.

Which domain should I bind in Zenavo? Bind your custom domain to the web (Nginx) service—not directly to internal storage services like rustfs, which communicate over .zenavo.internal.

Deploy the OpenSEO template on your own server to replace recurring SEO SaaS subscriptions with pay-as-you-go DataForSEO lookups and built-in MCP support.