There is a hosted Model Context Protocol server at https://agentfriendlyrank.com/mcp. It exposes the same data as the read-only API as five tools, so an agent with the server connected can ask for a score, a report, a comparison or the rubric instead of scraping a page for them. It needs no key and keeps no state: a client POSTs JSON-RPC, gets JSON back, and that is the whole exchange. This post covers the transport, the tools as the code defines them, and what to ask once it is connected.
The tools and the API read from one JSON layer, so the two surfaces cannot disagree about what a report looks like, and both inherit the same visibility rules: a hidden site is not found in either, for the same reason it is not found on the HTML page.
Connecting a client
Add the server URL in your client's MCP configuration. Most clients that support remote servers accept a block of this shape:
{
"mcpServers": {
"agentfriendlyrank": { "url": "https://agentfriendlyrank.com/mcp" }
}
}
Where that configuration lives, and whether the client wants it as a file or a settings screen, varies by client and changes with releases, so the protocol documentation is the place to look for yours. Once connected, the client calls initialize and tools/list itself and the five tools appear alongside whatever else it has.
The server introduces itself as agentfriendlyrank, version 1.0.0, with an instructions string the model sees on initialise. It says what the site measures, that the tools are read-only, that a human gets a site scanned at /scan and can then poll the resulting scan id, and where the REST equivalent and its OpenAPI document are.
The transport
The endpoint is Streamable HTTP in its simplest conformant form.
POST only. A GET answers 405 with a problem-details body explaining that the server opens no server-to-client stream; DELETE answers 405 because there are no sessions to terminate. Both carry Allow: POST, OPTIONS.
Stateless. No Mcp-Session-Id is issued or expected. Every request stands alone, which is what lets the endpoint run as a serverless function with nothing to keep warm.
No authentication. Everything the tools return is already public on the HTML pages, so there is nothing to protect with a key. CORS is open to any origin, with Mcp-Session-Id and MCP-Protocol-Version in the allowed headers.
Protocol versions. The server accepts 2025-06-18, 2025-03-26 and 2024-11-05, negotiates from the MCP-Protocol-Version request header and echoes the chosen version back in the response header. Anything unrecognised falls back to the newest.
Methods. initialize, ping, tools/list, tools/call, notifications (which get an empty 202) and JSON-RPC batches. Not supported, by design: resources, prompts, and server-initiated streams. A body that is not JSON answers 400 with JSON-RPC error -32700; an unknown method answers -32601; an unknown tool name answers -32602.
The core is hand-written rather than an SDK, because the surface is five read-only tools and the SDK's HTTP transport expects a request and response pair a route handler does not have. The comment at the top of the module says the same and adds the condition for revisiting: when the tool list no longer fits on one screen.
Calling it by hand
You do not need a client to see what the server does. Three curl calls cover it.
curl https://agentfriendlyrank.com/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize",
"params":{"protocolVersion":"2025-06-18"}}'
curl https://agentfriendlyrank.com/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'
curl https://agentfriendlyrank.com/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":3,"method":"tools/call",
"params":{"name":"get_site_report","arguments":{"domain":"agentfriendlyrank.com"}}}'
A successful tools/call result carries the data twice: as a content array with one text item holding the JSON, for clients that only read text, and as structuredContent, for clients that read the object. A tool that cannot answer returns isError: true with a plain-language content text rather than a JSON-RPC error, so the model can read why and decide what to do next.
The five tools
Every tool carries the same annotations: readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false. A client that respects annotations can call any of them without asking for confirmation, because none of them changes anything.
| Tool | Arguments | Returns |
|---|---|---|
get_site_report |
domain (string, required; a bare domain or any URL) |
Score, grade, pillar scores, ranked fixes and all 27 checks with evidence |
get_leaderboard |
category (one of ecommerce, saas, content, other), limit (integer 1 to 500, default 50), offset (integer, default 0) |
Published sites ranked highest first, each with its report URL |
compare_sites |
a, b (strings, both required; domains or URLs) |
Both summaries and every check with each side's status and points |
get_scan_status |
scan_id (string, uuid, required) |
queued, crawling, scoring, complete, failed or blocked, with the report URL once complete |
get_rubric |
none | The rubric, v1.0.1, with pillars, checks, points, grade bands and changelog |
A few details from the handlers that matter in practice.
get_site_report normalises whatever it is given, so https://www.example.com/pricing resolves to example.com. If the domain disallows our crawler in robots.txt, the error says so. If there is no published report, the error says it may never have been scanned or its owner may have hidden it, and gives the scan URL; those two cases are deliberately not told apart.
get_leaderboard defaults to 50 entries where the REST endpoint defaults to 100; both cap at 500. A limit below zero or a non-numeric value falls back to the default rather than erroring. An unknown category is an error naming the category.
compare_sites accepts the pair in either order and answers in canonical order. Identical domains are refused; if one side has no published report the error names which.
get_scan_status takes the id from the /scan/{id} URL a person is redirected to after submitting the scan form. reportUrl is null until status is complete.
get_rubric takes no arguments and is worth calling first in any session that will interpret check ids, for the same reason the tool description says so: it is how a model finds out what B5 or C4 means before it reads a report that mentions them.
Prompts to try
With the server connected, the tool descriptions do most of the work; the prompts can be plain.
- "Get the agent readiness report for example.com and list the top fixes with their effort ratings."
- "Compare example.com with example.org and tell me which checks differ."
- "Show me the top ten e-commerce sites on the leaderboard."
- "Fetch the rubric and explain what check A5 measures and how many points it carries."
- "Here is a scan URL from the form. Check whether it has finished and give me the report link."
The last one is the pattern for getting a site scanned: a person submits /scan, which works without JavaScript, and hands the resulting /scan/{id} to the agent, which polls get_scan_status. There is no tool to request a scan, and that is deliberate. A scan crawls a third party's site, so it stays a human act behind a form with a rate limit; the same reasoning applies to the REST API.
Where it is documented
The server is listed on /docs with the REST API, as an endpoints entry in /agents.json, and in /llms.txt. The endpoint itself, /mcp, answers a browser's GET with the 405 described above, which is the correct behaviour and a reasonable way to confirm it is up.
Publishing it is also part of why our own site scores full marks on C4, machine endpoints and agent manifests. If you want to build one for your own site, building an MCP server for a marketing site in an afternoon is the walkthrough; the design here, a stateless POST endpoint with a handful of read-only tools over data you already publish, is the same shape.
Check your own site
Connect the server and ask for your own domain, or run the free scan first if it has never been scanned. The check that credits a published MCP server is C4 on /methodology.