developers
SEO and AI visibility data for your code and your agents.
A remote MCP server and a REST API with the same tools, typed schemas and per-unit prices. Every response says where its numbers came from.
01 · endpoints
Two doors, same tools
- MCP server (Streamable HTTP)
- https://mcp.serprankai.com/mcp
- Sign-in
- OAuth 2.1 or API key
- REST API
- https://mcp.serprankai.com/v1/tools
- REST API description
- https://mcp.serprankai.com/openapi.json
- MCP server card
- https://mcp.serprankai.com/mcp/server-card
- Tools
- 18
02 · call model
How a call works
- Quote: any paid tool with quote_only: true returns a binding quote_id at 0 credits, valid for 30 minutes.
- Run: repeat the call with the quote_id. The charge is the lower of the quote and the actual cost; failed work costs 0, and work that runs but finds nothing pays just its base fee.
- Jobs: anything slower than about 45 seconds returns a job_id; poll it with the job tool.
- Errors: typed codes with retry advice (see the agent docs).
- Limits: 60 tool calls per minute, per key or sign-in; 10 jobs running at the same time, per key or sign-in; 60 requests per minute, per ip address, on public discovery urls (starting values).
- The account owner sets daily, weekly or per-client spending limits; within them, calls never pause to ask anyone. Pass max_credits to refuse anything above a price you choose.
03 · code
Connect from code and from coding agents
curl (REST, quote only)
curl -s -X POST https://mcp.serprankai.com/v1/tools/site_audit \
-H "Authorization: Bearer $SERPRANK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com","pages":100,"quote_only":true}'Claude Code, Codex and Cursor
Each assistant page has the exact config line. Or let the installer find the assistants on your computer:
npx serprank init04 · for agents
Point your agent at the docs
Agents: read /docs/agents.md before calling paid tools. Prices change; the quote is binding.