Serpstat API MCP Server

A TypeScript server that integrates Serpstat SEO API with Anthropic's Model Context Protocol (MCP), enabling AI assistants like Claude to access

Local serverstdioTypeScript

What is the Serpstat API MCP Server?

A TypeScript server that integrates Serpstat SEO API with Anthropic's Model Context Protocol (MCP), enabling AI assistants like Claude to access comprehensive SEO

What you get

The Model Context Protocol (MCP) is an open standard developed by Anthropic that enables AI assistants to securely connect to external data sources and tools. This server implements MCP to provide Claude and other compatible AI assistants with access to Serpstat's powerful SEO analytics API.

  • 🔍 Comprehensive SEO Analysis: Access domain info, keyword research, competitor analysis, and backlink data
  • ✅ Input Validation: Robust parameter validation using Zod schemas
  • 📊 Event Logging: Detailed logging with Winston for debugging and monitoring
  • ⚙️ Flexible Configuration: Environment-based configuration with sensible defaults
  • 🧪 Well Tested: Jest tests for parameter validation and business logic
  • 🚀 TypeScript: Full type safety throughout the codebase

Configuration and credentials

  • Node.js 18.0.0 or higher (Download Node.js) - Valid Serpstat API token (get one from Serpstat) - Compatible AI Assistant: Claude Desktop, Gemini CLI, or any MCP-compatible client

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
domainDomain analysis tools (domain info, competitors, domain keywords, etc.)
keywordsKeyword research tools (keyword suggestions, search volume, difficulty, etc.)
backlinksBacklink analysis tools (backlink summary, anchors, referring domains, etc.)
urlURL analysis tools (URL traffic, competitors, keywords, etc.)
projectsProject management tools (create, list, delete projects)
creditsCredits and usage monitoring tools
auditSite audit tools (full site SEO audit, error reports, etc.)
page-auditOne-page audit tools (single page analysis, on-page SEO, etc.)
get_domains_infoGet SEO information for multiple domains
get_domain_competitorsGet list of competitor domains
get_domain_keywordsGet keywords that domain ranks for
get_domain_urlsGet URLs within a domain and their keyword counts
get_domain_regions_countGet keyword count by region for a domain
get_domain_uniq_keywordsGet unique keywords for two domains not ranked by a third domain

How to install the Serpstat API MCP Server

{
   "mcpServers": {
      "serpstat": {
         "command": "npx",
         "args": ["-y", "@serpstat/serpstat-mcp-server"],
         "env": {
            "SERPSTAT_API_TOKEN": "YOUR_SERPSTAT_API_TOKEN_HERE",
            "LANG": "en_US.UTF-8",
            "LC_ALL": "en_US.UTF-8"
         }
      }
   }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js 18.0.0 or higher (Download Node.js) - Valid Serpstat API token (get one from Serpstat) - Compatible AI Assistant: Claude Desktop, Gemini CLI, or any MCP-compatible client
VariableDescriptionRequired
SERPSTAT_API_TOKENCredential the server authenticates with.Yes
LANGConfiguration value read at startup.Optional
LC_ALLConfiguration value read at startup.Optional
SERPSTAT_ENABLED_CATEGORIESConfiguration value read at startup.Optional
SERPSTAT_API_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use Serpstat API to domain.”
  • “Use Serpstat API to keywords.”
  • “Use Serpstat API to backlinks.”

Frequently asked questions

A TypeScript server that integrates Serpstat SEO API with Anthropic's Model Context Protocol (MCP), enabling AI assistants like Claude to access comprehensive SEO Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.