CoinGecko
https://mcp.api.coingecko.com/mcp
Query CoinGecko crypto market data by searching SDK docs and running TypeScript code against an authenticated client.
78.0/100
#18 of 32 · #2 in Finance & payments
Fix it with your coding agent
Free. Paste this into Claude Code, Cursor or Codex inside your server's repo.
Improve the MCP server at https://mcp.api.coingecko.com/mcp so AI agents can use it better. It scored 78/100 (B) on the Agnost MCP Leaderboard.
Top fixes:
1. Bad input was silently accepted by search_docs. Validate arguments and return a clear error.
2. Invalid-option errors don't list the valid values (search_docs.language). Errors that name the fix get ~3× more successful retries.
3. Expand execute's description to list key SDK namespaces (e.g. client.simple.price.get, client.coins.markets.get), the expected run(client) signature, and how return values/console logs are surfaced.
Per-tool fixes:
- execute: Open with: 'Runs a TypeScript async function run(client) against an initialized CoinGecko SDK client (read-only market data) and returns its return value plus console.log output. Use search_docs first to find method names and parameters.' Keep the coding constraints as a short bullet list. Says 'JavaScript' but then insists on TypeScript, which is contradictory Does not point to search_docs for discovering SDK methods beyond the single example Does not mention API rate limits or plan costs. The 'intent' param sends data back for 'improving the service', which is a minor telemetry note Bad-input test (missing required: code) got an unhelpful error: "400: Bad Request error when trying to contact the code execution sandbox. Details: {"is_error":true,"result":null,"log_l" Bad-input test (wrong type: code) got an unhelpful error: "400: Bad Request error when trying to contact the code execution sandbox. Details: {"is_error":true,"result":null,"log_l" No outputSchema — agents can't tell what the tool returns No human-readable title
- search_docs: Search the CoinGecko SDK docs for methods, parameters, and examples, and return matching snippets. Use language='typescript' when preparing code for execute. Use detail='verbose' to include full parameter schemas and response types. Does not name the CoinGecko API or say what form the results take The 'detail' enum values are unexplained (what does verbose add?) 'language' enum includes terraform/http with no guidance. The execute tool needs typescript/javascript Bad-input test (missing required: query) got an unhelpful error: "[]" Bad-input test (invalid option: language) got an unhelpful error: "[]" No outputSchema — agents can't tell what the tool returns No human-readable title
Keep tool names stable. Add readOnlyHint/destructiveHint annotations and outputSchema where missing.Score breakdown
Weighted by what breaks agents in 100M+ real MCP calls.
Error quality
5 bad-input tests · 0 clear errors
45/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: 3/3 · first-call success 100% · 1.0 calls/task
100/100 · 15 pts
↳ The same tool can fail 0% of the time in one client and 13% in another
Tool count & token cost
2 tools · ~996 tokens · 0 overlapping pairs
100/100 · 15 pts
↳ The top 3 tools usually get >99% of calls; the rest just cost context
Schema & docs accuracy
Descriptions 73/100 · 0/2 declare outputSchema
74/100 · 15 pts
↳ Declared output schemas that don't match real output break calls
Response size
median ~385 tokens · p95 ~4,196 · no limit params
75/100 · 10 pts
↳ Big responses overflow the agent's context; ~30% of search responses exceed 25k tokens
Latency & long calls
median 653ms · p95 1248ms · 0 timeouts
96/100 · 10 pts
↳ After a client cancels a long call, ~39% of sessions end
Connection & login
handshake 745ms · Streamable HTTP
100/100 · 10 pts
↳ After a login or permission error, ~1 in 5 sessions end
Metadata & discoverability
metadata 45/100 · Listed in the official MCP Registry ✕ · mcp.json manifest ✕ · Setup page in the browser ✕
23/100 · 5 pts
↳ The basics. Necessary, but not what makes agents succeed
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.
Left out a required field · execute.code
Protocol error (often hidden from the model) · "400: Bad Request error when trying to contact the code execution sandbox. Details: {"is_error":true,"result":null,"log_lines":[],"err_lines":["missing \"code\" "
Sent the wrong type · execute.code
Protocol error (often hidden from the model) · "400: Bad Request error when trying to contact the code execution sandbox. Details: {"is_error":true,"result":null,"log_lines":[],"err_lines":["missing \"code\" "
Left out a required field · search_docs.query
Accepted the bad input · "[]"
Sent an option that doesn't exist · search_docs.language
Accepted the bad input · "[]"
Called a tool that doesn't exist · —
Protocol error (often hidden from the model) · "Unknown tool: __agnost_nonexistent_tool__"
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 ~2,994 tokens per task on average.
opus-5-5Find which SDK method returns the current USD price of Bitcoin and Ethereum.
Right tool first try · 4.9s · search_docs
opus-5-5What is the current price of Bitcoin in USD?
Right tool first try · 3.8s · execute
opus-5-5List the top 10 cryptocurrencies by market cap with their 24h change.
Right tool first try · 6.5s · execute
haiku-5-5Find which SDK method returns the current USD price of Bitcoin and Ethereum.
Right tool first try · 2.4s · search_docs
haiku-5-5What is the current price of Bitcoin in USD?
Right tool first try · 2.1s · execute
haiku-5-5List the top 10 cryptocurrencies by market cap with their 24h change.
Right tool first try · 4.6s · execute
gpt-5.5Find which SDK method returns the current USD price of Bitcoin and Ethereum.
Right tool first try · 3.5s · search_docs
gpt-5.5What is the current price of Bitcoin in USD?
Right tool first try · 3.6s · execute
gpt-5.5List the top 10 cryptocurrencies by market cap with their 24h change.
Right tool first try · 6.7s · execute
Top 3 fixes
- 1
Bad input was silently accepted by search_docs. Validate arguments and return a clear error.
- 2
Invalid-option errors don't list the valid values (search_docs.language). Errors that name the fix get ~3× more successful retries.
- 3
Expand execute's description to list key SDK namespaces (e.g. client.simple.price.get, client.coins.markets.get), the expected run(client) signature, and how return values/console logs are surfaced.