@seomcp/proxy
Local MCP proxy for seo-mcp — 39 SEO tools in your AI assistant.
README
@seomcp/proxy
Local MCP proxy for seo-mcp — 39 SEO tools in your AI assistant.
Reads your Google service account credentials from disk and forwards MCP tool calls to api.seomcp.dev over HTTPS. Zero runtime dependencies, single-file bundle, ~11KB.
Quick Start
npm i -g github:quantacodes/seomcp-proxy
Configure Your MCP Client
Add to your Claude Desktop, Cursor, or other MCP client config:
{
"mcpServers": {
"seo-mcp": {
"command": "seomcp-proxy",
"env": {
"SEOMCP_API_KEY": "sk_live_...",
"GOOGLE_SERVICE_ACCOUNT": "/path/to/service-account.json",
"GSC_PROPERTIES": "example.com,blog.example.com",
"GA4_PROPERTIES": "123456789:example.com,987654321:blog.example.com"
}
}
}
}
Verify Setup
export SEOMCP_API_KEY="sk_live_..."
export GOOGLE_SERVICE_ACCOUNT="/path/to/service-account.json"
seomcp-proxy test
Environment Variables
| Variable | Required | Description |
|---|---|---|
SEOMCP_API_KEY |
✅ | API key from seomcp.dev/dashboard |
GOOGLE_SERVICE_ACCOUNT |
✅ | Path to Google service account JSON file |
GSC_PROPERTIES |
Required for GSC tools | Comma-separated domain names (e.g., example.com,blog.example.com) - we auto-add sc-domain: |
GA4_PROPERTIES |
Required for GA4 tools | Comma-separated with domain mapping: propertyID:domain (e.g., 123:example.com,456:blog.example.com) |
SEOMCP_API_URL |
Optional | Override API URL (default: https://api.seomcp.dev) |
SEOMCP_TIMEOUT |
Optional | Request timeout in ms (default: 30000) |
Property Mapping:
GA4_PROPERTIES: UsepropertyID:domainformat for explicit mappingGSC_PROPERTIES: Just list domain names, we automatically format them assc-domain:example.com
GSC_PROPERTIES=example.com,blog.example.com
GA4_PROPERTIES=123456789:example.com,987654321:blog.example.com
# example.com ↔ 123456789, blog.example.com ↔ 987654321
CLI Commands
seomcp-proxy # Run as MCP server (stdio mode)
seomcp-proxy test # Validate credentials + API key + connectivity
seomcp-proxy version # Print version
seomcp-proxy --help # Print help
📊 SEO Report Skill (Bundled)
This repo includes the seo-mcp-reports skill — a comprehensive knowledge pack that teaches AI agents how to generate professional, agency-quality SEO reports with charts, styled tables, and visual dashboards.
What's Included
skills/seo-mcp-reports/
├── SKILL.md # Quick start + base design system
└── references/
├── templates.md # Full HTML/CSS/Chart.js templates for 6 report types
├── analysis.md # Data processing functions (CWV, CTR, cannibalization)
└── setup.md # Setup guide, all 39 tools, pricing, troubleshooting
Report Types
| Type | Time | Best For |
|---|---|---|
| Weekly | 10 min | Regular monitoring |
| Monthly | 30 min | Client deliverables |
| Quarterly | 2 hrs | Strategy reviews |
| Technical | 20 min | Troubleshooting |
| Competitive | 45 min | Strategy planning |
| Agency (Client-Friendly) | 40 min | Non-technical stakeholders |
How to Use
See INSTALL.md for setup instructions for:
- Claude Code — project-level or global CLAUDE.md
- Claude Desktop — project knowledge + custom instructions
- Cursor — .cursor/rules or .cursorrules
- VSCode + Continue.dev — .continuerules + context providers
- OpenClaw — drop into workspace skills/
- Windsurf / Other agents — universal setup pattern
39 Tools Available
Crawling & Audit (3)
site_audit · crawl_page · test_robots_txt
Google Search Console (8)
gsc_performance · gsc_list_sites · gsc_list_sitemaps · gsc_submit_sitemap · gsc_delete_sitemap · gsc_inspect_url · gsc_bulk_inspect · gsc_search_appearances
Google Analytics 4 (11)
ga4_list_properties · ga4_report · ga4_batch_report · ga4_funnel_report · ga4_realtime · ga4_metadata · ga4_overview · ga4_top_pages · ga4_traffic_sources · ga4_devices · ga4_geography
Core Web Vitals (1)
core_web_vitals
Schema & Structured Data (2)
validate_schema · analyze_robots_txt
Sitemaps (1)
sitemap_index_diff
IndexNow (4)
indexnow_submit_url · indexnow_batch_submit · indexnow_submit_sitemap · indexnow_submit_file
Google Indexing API (4)
google_indexing_submit_url · google_indexing_batch_submit · google_indexing_submit_sitemap · google_indexing_submit_file
Utility (2)
quota_status · healthcheck
Reports (1)
generate_report
Meta (1)
version
How It Works
Your AI (Claude, Cursor, etc.)
↕ JSON-RPC over stdio
@seomcp/proxy (this package)
↕ HTTPS with credentials
api.seomcp.dev
↕ runs seo-mcp binary
Google APIs (GSC, GA4, PageSpeed)
- Your MCP client sends a
tools/callrequest over stdin - The proxy reads your Google service account from disk (fresh every call)
- Forwards the tool call + credentials to
api.seomcp.devover HTTPS - Returns the result to your MCP client over stdout
Credentials are re-read on every request — rotate your service account keys without restarting.
Google Service Account Setup
- Go to Google Cloud Console
- Create a service account (or use existing)
- Enable APIs: Search Console API, Analytics Data API, PageSpeed Insights API
- Download the JSON key file
- Share your GSC property with the service account email (Viewer role)
- Add the service account to your GA4 property (Viewer role)
Security
- Credentials are transmitted over HTTPS only
- Service account JSON is re-read from disk per request (never cached in memory)
- API key validated locally before any network call
- The cloud API does not log or persist credentials
Requirements
- Node.js ≥ 18
- Google service account with GSC/GA4 access
- API key from seomcp.dev
License
MIT © quantacodes
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。