AI
MCP server
Give your AI agent the power to generate schema, robots.txt and sitemaps on demand.
Hosted endpoint (remote)
No install needed — point any MCP client at the live endpoint. Backed by our server-side tool engine and rate-limited.
https://mars.cx/api/mcp
Quick test:
curl -s -X POST https://mars.cx/api/mcp -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"generate_faq_schema","arguments":{"items":[{"q":"Is it free?","a":"Yes"}]}}}'Claude config:
{
"mcpServers": { "marsgeo": { "type": "http", "url": "https://mars.cx/api/mcp" } }
}Local server (stdio)
For privacy or offline use, run the server yourself with your Pro API key.
git clone https://github.com/cnmars/MarsGeo cd MarsGeo/mcp npm install MARSGEO_API_KEY=mg_live_... node server.mjs
{
"mcpServers": {
"marsgeo": {
"command": "node",
"args": ["/absolute/path/to/MarsGeo/mcp/server.mjs"],
"env": { "MARSGEO_API_KEY": "mg_live_..." }
}
}
}Exposed tools
run_marsgeo_tool— run any tool by slugarticle-schema-generator(via run_marsgeo_tool)how-to-schema-generator(via run_marsgeo_tool)breadcrumb-schema-generator(via run_marsgeo_tool)organization-schema-generator(via run_marsgeo_tool)serp-snippet-preview(via run_marsgeo_tool)keyword-density-analyzer(via run_marsgeo_tool)schema-validator(via run_marsgeo_tool)meta-tag-extractor(via run_marsgeo_tool)heading-extractor(via run_marsgeo_tool)json-ld-extractor(via run_marsgeo_tool)
Full API reference: /docs/api