# Best code, repository and documentation tools for AI agents (slim) > Context7 (BB), GitHub MCP Server (BB) and Azure DevOps MCP Server (B) lead the 8 ranked code, repository and documentation tools. Picks by need, strengths, weaknesses and prices from the Anchor benchmark. - Full: https://www.anchorterminal.com/best/code/index.md (~4,650 tokens) · this version ~1,230 tokens · JSON https://www.anchorterminal.com/best/code/index.json · canonical https://www.anchorterminal.com/best/code/ - Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · Updated: 2026-10-08 All 8 ranked code, repository and documentation tools on the Anchor benchmark, with a pick for each need and where each one falls short. Scores come from public evidence, re-checked as vendors change. - Ranked: 8 · agent-ready (BB or better): 2 · accept x402: 0 · hosted endpoints: 5 - Full ranked table: https://www.anchorterminal.com/categories/code.md - Head-to-head comparisons: https://www.anchorterminal.com/compare/code/index.md (8) - Methodology: https://www.anchorterminal.com/benchmark/index.md ## The shortlist | # | Tool | Grade | Score | Best for | Price | Where | | --- | --- | --- | --- | --- | --- | --- | | 1 | [Context7](https://www.anchorterminal.com/tools/context7.md) | BB | 73 | Coding agents that need current library or framework docs and examples on demand, at little or no cost. | $5 / 1k calls | hosted and local | | 2 | [GitHub MCP Server](https://www.anchorterminal.com/tools/github-mcp-server.md) | BB | 70.3 | Agents that read and change GitHub repositories, issues, pull requests and Actions, from triage bots to coding agents. | Free · OSS | hosted and local | | 3 | [Azure DevOps MCP Server](https://www.anchorterminal.com/tools/azure-devops-mcp.md) | B | 66.3 | Agents working in an Azure DevOps organisation on work items, pull requests, pipelines and test plans, most easily from Microsoft's own clients. | $6 / seat-mo | hosted and local | | 4 | [Salesforce DX MCP Server](https://www.anchorterminal.com/tools/salesforce-dx-mcp.md) | C | 59.5 | Coding agents building and deploying on the Salesforce platform (metadata, Apex tests, LWC guidance, \`DevOps Center\`). | Free · OSS | local | | 5 | [Ref](https://www.anchorterminal.com/tools/ref.md) | C | 59.4 | Coding agents that need current library documentation plus search over a team's private repositories and PDFs through two small tools. | $10 / 1k calls | hosted and local | | 6 | [Sourcegraph MCP Server](https://www.anchorterminal.com/tools/sourcegraph-mcp.md) | C | 57.5 | A company that already runs Sourcegraph and wants agents to search and navigate many repositories with compiler-accurate definitions and references. | Paid | local | | 7 | [Git (MCP reference server)](https://www.anchorterminal.com/tools/git-reference-server.md) | D | 51.9 | Local commit loops in a sandboxed checkout where an agent stages, commits and branches. | Free · OSS | local | | 8 | [Microsoft Learn MCP Server](https://www.anchorterminal.com/tools/microsoft-learn-mcp.md) | D | 47.9 | Coding and support agents working on Azure, .NET, Microsoft 365 or other Microsoft technologies, at no cost. | Free | hosted | ## Picks by need - Highest score overall: [Context7](https://www.anchorterminal.com/tools/context7.md), BB, 73/100 on the benchmark. Also [GitHub MCP Server](https://www.anchorterminal.com/tools/github-mcp-server.md), BB, 70.3/100. - Reliability: [Azure DevOps MCP Server](https://www.anchorterminal.com/tools/azure-devops-mcp.md), 72/100 on reliability, against 68 for the overall leader. - Agent ergonomics: [GitHub MCP Server](https://www.anchorterminal.com/tools/github-mcp-server.md), 78/100 on agent ergonomics, against 69 for the overall leader. - Security & auth: [GitHub MCP Server](https://www.anchorterminal.com/tools/github-mcp-server.md), 84/100 on security & auth, against 69 for the overall leader. - Transparency & trust: [GitHub MCP Server](https://www.anchorterminal.com/tools/github-mcp-server.md), 83/100 on transparency & trust, against 72 for the overall leader. - Self-hosting under an open licence: [Sourcegraph MCP Server](https://www.anchorterminal.com/tools/sourcegraph-mcp.md), self-hosted, Proprietary licence. ## How to choose - Read and write tool scope: Check which tools can read and which can write to repositories, and whether you can filter them, since an agent needs only the calls its task requires. - Private repository access: Check how the server authenticates, which access controls apply and whether private sources stay private, since a broad token lets an agent read code it should not see. - Result limits and metered credits: Check result limits and which tools draw on metered credits, since a documentation lookup or repository search can use up a plan's allowance inside a single agent run. - Documentation version and freshness: Check how library documentation is versioned and how often it updates, since an agent generating code against an outdated API version may produce calls that fail. Each listing's verdict, strengths and weaknesses: https://www.anchorterminal.com/best/code/index.md