OfficialLocal + RemoteFree server, account needed

Ref MCP server

ref-tools/ref-tools-mcp

Up-to-date documentation for your coding agent. Covers 1000s of public repos and sites. Built by ref.tools

1,183 GitHub stars71 forks3,676 npm downloads / month

Install Ref in Claude Code

Remote URL

Claude Code
claude mcp add --transport http ref https://server.smithery.ai/@ref-tools/ref-tools-mcp/mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "ref": {
      "url": "https://server.smithery.ai/@ref-tools/ref-tools-mcp/mcp"
    }
  }
}

npm

Claude Code
claude mcp add ref -e REF_API_KEY=... -- npx -y ref-tools-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "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 all