Serpstat API MCP Server is an MCP server that integrates Serpstat's search engine optimization platform with Model Context Protocol clients. Built in TypeScript, the server connects directly to the Serpstat v4 API, allowing search marketers, SEO analysts, content strategists, and developers to access extensive search intelligence data directly from AI assistants such as Claude Desktop or Gemini CLI. By bridging Serpstat with AI environments, the server enables automated retrieval and inspection of keyword rankings, search volume, cost-per-click statistics, keyword difficulty, and organic search competitors. It also exposes tools for backlink auditing, analyzing referring domains, auditing site health, inspecting URL metrics, and reviewing market research categories across different geographic search engines. The server uses Zod schemas for parameter validation and Winston for event logging, providing structured error handling during API interactions. Users can manage Serpstat projects, track rank movements over time, and monitor their API credit balances directly inside their assistant conversation without opening external dashboards.
Category: CRM, ERP & E-commerce
Tags: analytics, marketing, seo, serpstat
claude_desktop_config.json for Claude Desktop or ~/.gemini/settings.json for Gemini CLI. 4. Add the server entry under the mcpServers object: json { "mcpServers": { "serpstat": { "command": "npx", "args": ["-y", "@serpstat/serpstat-mcp-server"], "env": { "SERPSTAT_API_TOKEN": "YOUR_SERPSTAT_API_TOKEN_HERE" } } } } 5. Optionally define SERPSTAT_ENABLED_CATEGORIES (such as keywords,domain) to restrict loaded tools, then save and restart your client.Part of MCP Servers
You can install the server globally using npm with the command npm install -g @serpstat/serpstat-mcp-server, or run it directly using npx inside your MCP client configuration. You must have Node.js 18.0.0 or higher installed and supply a valid Serpstat API token in your environment variables.
It provides access to 65 SEO tools across categories including domain analysis, keyword research, backlink monitoring, URL audits, rank tracking, and site audits. Users can retrieve competitor rankings, search volumes, domain authority scores, keyword suggestions, anchor text distributions, and account credit usage stats.
The server works with any client that implements the Model Context Protocol standard, including Claude Desktop and Gemini CLI. You configure the server by defining the command, arguments, and required API token in the corresponding client JSON configuration file.
You can restrict tool availability by setting the SERPSTAT_ENABLED_CATEGORIES environment variable in your client configuration. Accepted values include domain, keywords, backlinks, url, projects, credits, rt, audit, and page-audit, passed as comma-separated values to reduce context window usage.
Yes, the server is open source and distributed under the MIT license. You can view, clone, and modify the TypeScript source code on GitHub. Contributions, bug reports, and pull requests are managed through the official SerpstatGlobal repository.