Docs in, task-shaped MCP server out.

docs2mcp reads an API's documentation, extracts a typed spec, groups endpoints into tools an agent can use, and generates a checked MCP server. This page shows how an agent did with those tools against two baselines built from the API's own OpenAPI file.

98.3%
tasks solved with docs2mcp's task-shaped tools
95.0%
with tools converted from the OpenAPI file
90.0%
with FastMCP's from_openapi
−22%
tokens per task, task-shaped against the OpenAPI conversion

claude-haiku-5-5, 100 hand-written tasks with checked answers, each condition run 3 times (FastMCP once). Headline on the three APIs every condition covers: PokéAPI, Frankfurter, Postcodes.io.

Every condition, on the shared APIs

ConditionRunsSuccessGroundedTool callsTokens / taskComplex tasks
A OpenAPI direct
The API's own OpenAPI file, one tool per operation (docs2mcp's converter)
18095.0%95.0%1.7333,51183%
B docs2mcp direct
docs2mcp from the docs, one tool per endpoint
18097.8%97.8%1.7629,22897%
C docs2mcp task-shaped
docs2mcp from the docs, task-shaped tools
18098.3%98.3%1.6126,065100%
D FastMCP from OpenAPI
FastMCP's from_openapi on the same OpenAPI file
6090.0%83.3%3.4869,66375%

Grounded: the answer appeared in a tool result the agent saw, so it did not come from the model's memory.

Every API

APIABCD
Frankfurter96.7%100.0%100.0%90.0%tools
Open Library–85.0%78.3%–results only
Open-Meteo–100.0%100.0%–results only
Open-Meteo Geocoding–100.0%100.0%–results only
PokéAPI98.3%98.3%100.0%100.0%tools
Postcodes.io90.0%95.0%95.0%80.0%tools

A and D exist only where the API publishes an OpenAPI file. Open Library and Open-Meteo show results only: their docs are AGPL, so their designs are not published.

The honest part

Task-shaped tools did best on complex tasks and used the fewest tokens. Across all six APIs they were level with docs2mcp's own one-tool-per-endpoint design, and behind it on Open Library. Most tasks were solved by every condition, so the gaps rest on a few tasks. The eval also found four real bugs before any result was claimed. Read the full results and limits, or browse every task.