
Ref Tools MCP Server
by ref-toolsai.smithery/ref-tools-ref-tools-mcpv3.0.0
Up-to-date documentation for your coding agent. Covers 1000s of public repos and sites. Built by ref.tools
context tax
~177 tok/turn2 tools
security
97/100
cold start
148 ms
freshness
Active43d ago
Our reading of Ref Tools, from the data
Ref Tools is a documentation MCP server from ref-tools, listed in the official MCP Registry.
Its 2 tools add about 177 tokens to every model turn, lighter than the documentation median of 820 tokens across 191 measured servers (measured 2026-10-23).
Maintenance is active: the last public signal was 43 days ago (2026-09-28). For comparison, 69% of documentation servers are active or maintained.
With 1,183 GitHub stars it ranks #24 of 829 documentation servers we index.
It runs either locally over stdio or as a hosted endpoint and needs one secret (REF_API_KEY); use a scoped, least-privilege key.
Install Ref Tools MCP server
Install in Claude Code
claude mcp add ref-tools -e REF_API_KEY='<ref-api-key>' -- npx -y ref-tools-mcpInstall in Cursor
{
"mcpServers": {
"ref-tools": {
"command": "npx",
"args": [
"-y",
"ref-tools-mcp"
],
"env": {
"REF_API_KEY": "<ref-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"ref-tools": {
"command": "npx",
"args": [
"-y",
"ref-tools-mcp"
],
"env": {
"REF_API_KEY": "<ref-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"ref-tools": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ref-tools-mcp"
],
"env": {
"REF_API_KEY": "<ref-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"ref-tools": {
"command": "npx",
"args": [
"-y",
"ref-tools-mcp"
],
"env": {
"REF_API_KEY": "<ref-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test ref-tools-mcp --env REF_API_KEY
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| REF_API_KEY | yes | yes | Your API key for Ref |
Remote endpoints
- streamable-http
https://api.ref.tools/mcp - streamable-http
https://server.smithery.ai/@ref-tools/ref-tools-mcp/mcp
Context tax
Connecting this server adds ~177 tokens of tool definitions to every model turn (lean, 2 tools). Measured 2026-10-23 via its hosted endpoint; o200k tokenizer, worst case for clients that load all tools up front. How we measure
| Model | Per 1,000 turns | With prompt caching |
|---|---|---|
| Claude Opus 5.5 | $0.708 | $0.035 |
| Claude Sonnet 5.5 | $0.354 | $0.035 |
| Claude Haiku 5.5 | $0.018 | — |
Input prices as of 2026-10-06. Excludes your own prompt and output.
Tools (2)
ref_search_documentation101 tokSearch for documentation on the web or github as well from private resources like repos and pdfs. Use Ref 'ref_read_url' to read the content of a url.
ref_read_url74 tokRead the content of a url as markdown. The entire exact URL from a Ref 'ref_search_documentation' result should be passed to this tool to read it.
Security signals
97/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No security policy (SECURITY.md)-3
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ✓Tool descriptions (prompt-injection and hidden-text heuristics)
- ○Package metadata (install scripts, provenance) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 43d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-28 · 43d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2025-10-28 · 13mo ago · official registry · v3.0.0
How it compares in Documentation
Against the most-starred documentation servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Ref Tools (this) | 1,183 | 2 | 177 | Active | local + hosted |
| Context7 | 63,264 | 2 | 1,188 | Active | local + hosted |
| Context7 | 63,264 | — | not measured | Active | — |
| Mantine | 31,835 | 5 | 673 | Active | local |
| Docs | 28,892 | 13 | 3,429 | Active | local |
| React Aria | 15,963 | 3 | 211 | Active | local |
FAQ
›How do I install the Ref Tools MCP server in Claude Code?
Run: claude mcp add ref-tools -e REF_API_KEY='<ref-api-key>' -- npx -y ref-tools-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Ref Tools require an API key?
Yes. It expects REF_API_KEY, of which 1 is a secret.
›Can I use Ref Tools as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Ref Tools in the official MCP registry?
Yes, as ai.smithery/ref-tools-ref-tools-mcp.
›How many tokens does Ref Tools add to my context?
Its tool definitions total about 177 tokens, resent on every turn.
Sources and method
- Official MCP Registry entry
- updated 2025-10-28
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Tool list (tools/list), measured by us
- 2026-10-23
- Security signals, computed by us
- 2026-10-23
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Ref Tools
Other documentation MCP servers.