MCP serversDocs and code context
Best documentation and code context MCP servers
4 MCP servers that give a coding agent current docs and repository context, ranked by how well an AI agent can use them. Mintlify leads with 95 out of 100, ahead of Context7 (94). Tested 1 December 2026.
Ranking
Docs and code context MCP servers, by score
Same test for each: we read the tool list, then call the tools the server marks read-only. How the test works →
| # | Server | Biggest gap | Score |
|---|---|---|---|
| 1 | Search with no limit parameter | 95 | |
| 2 | Search with no limit parameter | 94 | |
| 3 | No read or write hints | 82 | |
| 4 | No instructions on connect | 73 |
One by one
What an agent meets on each
Mintlify
95/100- 3 tools, about 1,600 tokens for the list.
- We read its tool list, then made 6 calls to the 2 tools it marks read-only.
- 2 of 2 list or search tools have no way to ask for less (no limit, page or cursor parameter):
search_mintlify,query_docs_filesystem_mintlify. - 1 string parameter looks constrained but is free text:
search_mintlify.language.
Context7
94/100- 2 tools, about 1,500 tokens for the list.
- We read its tool list, then made 6 calls to the 2 tools it marks read-only.
- Its one list or search tool has no way to ask for less (no limit, page or cursor parameter):
query-docs. - 2 string parameters look constrained but are free text:
query-docs.query,query-docs.language.
DeepWiki
82/100- 3 tools, about 1,400 tokens for the list.
- It marks no tool read-only, so we called none: the score comes from its tool list alone.
- 3 of 3 tools have no annotations (readOnlyHint, destructiveHint…):
ask_wiki_question,read_wiki_contents,read_wiki_structure.
GitMCP
73/100- 5 tools, about 720 tokens for the list.
- It marks no tool read-only, so we called none: the score comes from its tool list alone.
- The server sends no instructions on initialize.
- 5 of 5 tools have no annotations (readOnlyHint, destructiveHint…):
match_common_libs_owner_repo_mapping,fetch_generic_documentation,search_generic_documentation,search_generic_code,…
Other categories
More MCP servers, same test
After the test
A test finds what is wrong with the interface.
It can’t see what agents wanted.
An agent that gives up, or takes the slow way round, still gets a 200 on every call, so your logs never show it. Backloop collects what agents were trying to do and couldn’t, groups it, and opens the pull request that fixes it.