Agnost AI
← Leaderboard

GitMCP

https://gitmcp.io/docs

Fetch and semantically search documentation and code from any GitHub repository, and resolve library names to owner/repo.

Developer tools5 toolsv1.1.0Streamable HTTP
B

76.0/100

#20 of 32 · #6 in Developer tools

Reviewed 23h ago·Scan took 27.6s·Descriptions graded by Claude
Fix it

Fix it with your coding agent

Free. Paste this into Claude Code, Cursor or Codex inside your server's repo.

Fix prompt
Improve the MCP server at https://gitmcp.io/docs so AI agents can use it better. It scored 76/100 (B) on the Agnost MCP Leaderboard. Top fixes: 1. Responses reach ~163,205 tokens (95th percentile). Add limits, pagination or summaries. 2. Clarify when to use fetch_generic_documentation vs search_generic_documentation: state what fetch returns (e.g. llms.txt/README content), its size limits, and recommend search for targeted questions on large docs. 3. Add readOnlyHint annotations, titles, and outputSchemas to all five tools so agents know they are safe and what shape results (owner/repo match, file list with pagination info, doc chunks) take. Per-tool fixes: - fetch_generic_documentation: Fetch the main documentation (e.g., llms.txt or README) for a GitHub repo as text. Use for a broad overview of a library; for specific questions prefer search_generic_documentation. Doesn't say what is returned (README, llms.txt, full docs?) or size No guidance on when to use vs search_generic_documentation 'project name' wording differs from 'repo' param No outputSchema — agents can't tell what the tool returns No readOnlyHint/destructiveHint annotations — clients can't tell safe tools from destructive ones No human-readable title - search_generic_documentation: Semantic search over a GitHub repo's documentation; returns the most relevant doc chunks for a natural-language query. Prefer over fetch_generic_documentation when answering a specific question. Return format not described (snippets, scores, count) 'Useful for specific queries' is vague contrast with fetch_generic_documentation No outputSchema — agents can't tell what the tool returns No readOnlyHint/destructiveHint annotations — clients can't tell safe tools from destructive ones No human-readable title - search_generic_code: Keyword search over source code in a GitHub repo (GitHub code search syntax). Returns up to 30 file paths/URLs per page; use page for more. Use for implementation details not covered in docs. Query syntax unspecified (keywords vs GitHub code search qualifiers) Returns 'matching files' but not whether content/snippets or just paths No outputSchema — agents can't tell what the tool returns No readOnlyHint/destructiveHint annotations — clients can't tell safe tools from destructive ones No human-readable title - fetch_generic_url_content: Fetch an absolute URL (respecting robots.txt) and return its content as text. Use to follow links found in previously fetched documentation; returns an error if disallowed or unreachable. Doesn't state output format (raw HTML vs converted text/markdown) No mention of failures when robots.txt disallows No outputSchema — agents can't tell what the tool returns No readOnlyHint/destructiveHint annotations — clients can't tell safe tools from destructive ones No human-readable title - match_common_libs_owner_repo_mapping: Resolve a library name (e.g., 'react', 'pandas') to its GitHub owner/repo from a list of common libraries. Returns {owner, repo} or a not-found result. Use first when only a library name is given; skip if owner/repo are known. Doesn't describe the return format (e.g., owner/repo strings or not-found signal) Unclear what 'common libs' covers or how matching works (exact vs fuzzy) No outputSchema — agents can't tell what the tool returns No readOnlyHint/destructiveHint annotations — clients can't tell safe tools from destructive ones No human-readable title Keep tool names stable. Add readOnlyHint/destructiveHint annotations and outputSchema where missing.

Get the full detailed report

Every tool's score, what broke, and a suggested fix for each one, sent to your inbox.

Score breakdown

Weighted by what breaks agents in 100M+ real MCP calls.

Error quality

7 bad-input tests · 6 clear errors

72/100 · 20 pts

↳ Clear errors that name the fix get ~3× more successful retries

Task success across agents

opus-5-5: 3/3 · haiku-5-5: 3/3 · gpt-5.5: 2/3 · first-call success 89% · 1.0 calls/task

92/100 · 15 pts

↳ The same tool can fail 0% of the time in one client and 13% in another

Tool count & token cost

5 tools · ~1,353 tokens · 1 overlapping pairs

94/100 · 15 pts

↳ The top 3 tools usually get >99% of calls; the rest just cost context

Schema & docs accuracy

Descriptions 64/100 · 0/5 declare outputSchema

66/100 · 15 pts

↳ Declared output schemas that don't match real output break calls

Response size

median ~2,243 tokens · p95 ~163,205 · has limit params

56/100 · 10 pts

↳ Big responses overflow the agent's context; ~30% of search responses exceed 25k tokens

Latency & long calls

median 1136ms · p95 5608ms · 0 timeouts

81/100 · 10 pts

↳ After a client cancels a long call, ~39% of sessions end

Connection & login

handshake 1791ms · Streamable HTTP

84/100 · 10 pts

↳ After a login or permission error, ~1 in 5 sessions end

Metadata & discoverability

metadata 20/100 · Listed in the official MCP Registry ✕ · mcp.json manifest ✕ · Setup page in the browser ✓

27/100 · 5 pts

↳ The basics. Necessary, but not what makes agents succeed

Error quality

What your errors look like to an agent

We sent deliberately bad inputs. Errors that name the bad field and the valid values get ~3× more successful retries in real agent traffic.

75

Left out a required field · match_common_libs_owner_repo_mapping.library

Protocol error (often hidden from the model) · "MCP error -32602: Invalid arguments for tool match_common_libs_owner_repo_mapping: [ { "code": "invalid_type", "expected": "string", "received": ""

75

Sent the wrong type · match_common_libs_owner_repo_mapping.library

Protocol error (often hidden from the model) · "MCP error -32602: Invalid arguments for tool match_common_libs_owner_repo_mapping: [ { "code": "invalid_type", "expected": "string", "received": ""

75

Left out a required field · fetch_generic_documentation.owner

Protocol error (often hidden from the model) · "MCP error -32602: Invalid arguments for tool fetch_generic_documentation: [ { "code": "invalid_type", "expected": "string", "received": "undefined"

75

Sent the wrong type · fetch_generic_documentation.owner

Protocol error (often hidden from the model) · "MCP error -32602: Invalid arguments for tool fetch_generic_documentation: [ { "code": "invalid_type", "expected": "string", "received": "number", "

75

Left out a required field · search_generic_documentation.owner

Protocol error (often hidden from the model) · "MCP error -32602: Invalid arguments for tool search_generic_documentation: [ { "code": "invalid_type", "expected": "string", "received": "undefine"

75

Sent the wrong type · search_generic_documentation.owner

Protocol error (often hidden from the model) · "MCP error -32602: Invalid arguments for tool search_generic_documentation: [ { "code": "invalid_type", "expected": "string", "received": "number","

55

Called a tool that doesn't exist · —

Protocol error (often hidden from the model) · "MCP error -32602: Tool __agnost_nonexistent_tool__ not found"

AI agent test

We let a real AI agent use it

3 AI models got realistic tasks and the full tool list. We checked if the first call was right, how many calls it took, and if it finished the job. It used ~3,572 tokens per task on average.

✓

opus-5-5I only know the library name 'react-query'—which GitHub repo hosts it?

Right tool first try · 3.9s · match_common_libs_owner_repo_mapping

✓

opus-5-5Get the main documentation for the vercel/next.js repository.

Right tool first try · 8.3s · fetch_generic_documentation

✓

opus-5-5In the fastapi/fastapi docs, find how to define dependency injection with Depends.

Right tool first try · 9.1s · search_generic_documentation

✓

haiku-5-5I only know the library name 'react-query'—which GitHub repo hosts it?

Right tool first try · 3.4s · match_common_libs_owner_repo_mapping → match_common_libs_owner_repo_mapping

✓

haiku-5-5Get the main documentation for the vercel/next.js repository.

Right tool first try · 4.4s · fetch_generic_documentation

✓

haiku-5-5In the fastapi/fastapi docs, find how to define dependency injection with Depends.

Right tool first try · 9.1s · search_generic_documentation

✓

gpt-5.5I only know the library name 'react-query'—which GitHub repo hosts it?

Right tool first try · 3.3s · match_common_libs_owner_repo_mapping

✓

gpt-5.5Get the main documentation for the vercel/next.js repository.

Right tool first try · 5.2s · fetch_generic_documentation

✕

gpt-5.5In the fastapi/fastapi docs, find how to define dependency injection with Depends.

Timed out after 25s · 25.0s

Top 3 fixes

  1. 1

    Responses reach ~163,205 tokens (95th percentile). Add limits, pagination or summaries.

  2. 2

    Clarify when to use fetch_generic_documentation vs search_generic_documentation: state what fetch returns (e.g. llms.txt/README content), its size limits, and recommend search for targeted questions on large docs.

  3. 3

    Add readOnlyHint annotations, titles, and outputSchemas to all five tools so agents know they are safe and what shape results (owner/repo match, file list with pagination info, doc chunks) take.

Tool-by-tool report

description · schema, weakest first

Get the full detailed report

Enter your email and we'll send you the full report: every tool's score, what broke, and a suggested fix for each one. It also unlocks here.