MCP (Model Context Protocol) server for integration with Serpstat API, implementing api methods for a SEO analysis. JS/TS version
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add serpstat --env SERPSTAT_API_TOKEN='<SERPSTAT_API_TOKEN>' -- npx -y @serpstat/serpstat-mcp-server~/.codex/config.toml
[mcp_servers.serpstat]
command = "npx"
args = ["-y", "@serpstat/serpstat-mcp-server"]
env = { SERPSTAT_API_TOKEN = "<SERPSTAT_API_TOKEN>" }
# codex mcp add serpstat --env SERPSTAT_API_TOKEN='<SERPSTAT_API_TOKEN>' -- npx -y @serpstat/serpstat-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"serpstat": {
"command": "npx",
"args": [
"-y",
"@serpstat/serpstat-mcp-server"
],
"env": {
"SERPSTAT_API_TOKEN": "<SERPSTAT_API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"serpstat": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@serpstat/serpstat-mcp-server"
],
"env": {
"SERPSTAT_API_TOKEN": "<SERPSTAT_API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"serpstat": {
"command": "npx",
"args": [
"-y",
"@serpstat/serpstat-mcp-server"
],
"env": {
"SERPSTAT_API_TOKEN": "<SERPSTAT_API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"serpstat": {
"command": "npx",
"args": [
"-y",
"@serpstat/serpstat-mcp-server"
],
"env": {
"SERPSTAT_API_TOKEN": "<SERPSTAT_API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"serpstat": {
"command": "npx",
"args": [
"-y",
"@serpstat/serpstat-mcp-server"
],
"env": {
"SERPSTAT_API_TOKEN": "<SERPSTAT_API_TOKEN>"
}
}
}
}Environment variables
SERPSTAT_API_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.