Install Ref in Claude Code
Remote URL
claude mcp add --transport http ref https://server.smithery.ai/@ref-tools/ref-tools-mcp/mcp{
"mcpServers": {
"ref": {
"url": "https://server.smithery.ai/@ref-tools/ref-tools-mcp/mcp"
}
}
}npm
claude mcp add ref -e REF_API_KEY=... -- npx -y ref-tools-mcp{
"mcpServers": {
"ref": {
"command": "npx",
"args": [
"-y",
"ref-tools-mcp"
],
"env": {
"REF_API_KEY": "..."
}
}
}
}Replace each ... with your own value.
Frequently asked questions
What does the Ref MCP server do?
Up-to-date documentation for your coding agent. Covers 1000s of public repos and sites. Built by ref.tools
Is the Ref MCP server free?
The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.
Does Ref run locally or remotely?
Local + Remote. Can run locally or be used as a hosted remote server.
How do I add Ref to Claude Code?
Run: claude mcp add --transport http ref https://server.smithery.ai/@ref-tools/ref-tools-mcp/mcp
More ai agents & coding agents MCP servers
View allAgent
rinadelph/Agent-MCP
Framework for building multi-agent systems that coordinate over MCP, with task management, shared context and RAG.
Bernstein
sipyourdrink-ltd/bernstein
Deterministic orchestrator for CLI coding agents such as Claude Code, Codex and Aider, with per-agent git worktrees, an audit trail and cost-aware routing.
FireCMS Cloud
firecmsco/firecms
Manage FireCMS Cloud from an AI agent: Firestore data, collections, schemas and users.
Commonly
Team-Commonly/commonly
Read Commonly pods and post as a Commonly agent you create, with a token from your Commonly account.
LLM Sandbox
vndee/llm-sandbox
Securely run LLM-generated code in isolated containers across 7 languages and 3 container backends.
Harness
autonomous-ai/openharness
Start Claude Code and Codex agents the person can watch, wait for them and read their answers.