Ref Tools MCP
Ref Tools MCP is an MCP server that adds developer tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Token-efficient search for coding agents over public and private documentation. It has 1,185 GitHub stars, is released under the MIT license and runs locally with npx -y ref-tools-mcp.
github.com/ref-tools/ref-tools-mcp (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
- Official
- Needs API key
- Developer tools
- MIT
- Maintained
Install Ref Tools MCP
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"ref-tools-mcp": {
"command": "npx",
"args": [
"-y",
"ref-tools-mcp"
],
"env": {
"REF_API_KEY": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env REF_API_KEY=your-value --transport stdio ref-tools-mcp -- npx -y ref-tools-mcpCursor
{
"mcpServers": {
"ref-tools-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ref-tools-mcp"
],
"env": {
"REF_API_KEY": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "ref_api_key",
"description": "REF_API_KEY",
"password": true
}
],
"servers": {
"ref-tools-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ref-tools-mcp"
],
"env": {
"REF_API_KEY": "${input:ref_api_key}"
}
}
}
}Claude Code (remote)
claude mcp add --transport http ref-tools-mcp "https://api.ref.tools/mcp"The same server is also hosted as a remote MCP endpoint, so nothing runs on your machine.
Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
REF_API_KEYsecret | Yes | Your API key for Ref |
Tools (3)
Parsed from the Tools section of the README; check the repository for the current list.
ref_search_documentationA powerful search tool to check technical documentation. Great for finding facts or code snippets.
queryQuery to search for relevant documentation. This should be a full sentence or question.
ref_read_urlA tool that fetches content from a URL and converts it to markdown for easy reading with Ref.
About Ref Tools MCP
A ModelContextProtocol server that gives your AI coding tool or agent access to documentation for APIs, services, libraries etc. It's your one-stop-shop to keep your agent up-to-date on documentation in a fast and token-efficient way.
- coding-agent
- documentation-tool
- mcp
- mcp-server
Similar MCP servers
More developer tools MCP servers
Token Savior
Mibayy/token-savior
Structural codebase MCP server with persistent memory: navigate by symbol, recall across sessions.
Active · last commit Oct 15, 2026
Developer toolsPythonCPU Performance Engineering
usamahz/cpu-performance-engineering
A CPU performance engineering brain: a vetted reading list, benchmarks and cited source passages.
Too new to judge · created Sep 17, 2026
Developer toolsPythonCoding Tools MCP
xyTom/coding-tools-mcp
Give any AI agent the ability to code.
Active · last commit Oct 29, 2026
Developer toolsPythonConcord MCP
Get-Concord-AI/concord-mcp
Cross-harness communication and shared work-state for AI coding agents.
Active · last commit Nov 11, 2026
Developer toolsTypeScriptReverify
2akouwu/reverify
Stop your AI from making things up — it proposes, deterministic tools decide, every claim checked against ground truth with evidence.
Too new to judge · created Aug 31, 2026
Developer toolsPythonLLM Sandbox
vndee/llm-sandbox
Securely run LLM-generated code in isolated containers across 7 languages and 3 container backends.
Active · last commit Nov 6, 2026
Developer toolsPython
How do I install the Ref Tools MCP MCP server?
Add the command npx -y ref-tools-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Ref Tools MCP free?
The server is open source under the MIT license, so running it is free. It needs credentials (REF_API_KEY) for the service it connects to, which may require a paid account.
Is Ref Tools MCP actively maintained?
The most recent commit was on Nov 6, 2026. appsgit only lists MCP servers with a commit in the last six months.