ref-tools-ref-tools-mcp
MCP server by ref-tools Verified · smithery.ai
Ref MCP is a ModelContextProtocol server that gives AI coding tools and agents access to documentation for APIs, services and libraries. It is built to keep agents current on docs while using few tokens.
Install ref-tools-ref-tools-mcp
Built from the published package, never by AI.
claude mcp add --transport http ref-tools-ref-tools-mcp https://server.smithery.ai/@ref-tools/ref-tools-mcp/mcp --header "Authorization: Bearer YOUR_API_KEY"Run in your terminal. Add --scope user to use it in every project.
Step-by-step: install ref-tools-ref-tools-mcp in Claude Code
{
"mcpServers": {
"ref-tools-ref-tools-mcp": {
"url": "https://server.smithery.ai/@ref-tools/ref-tools-mcp/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install ref-tools-ref-tools-mcp in Claude Desktop
{
"mcpServers": {
"ref-tools-ref-tools-mcp": {
"url": "https://server.smithery.ai/@ref-tools/ref-tools-mcp/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"ref-tools-ref-tools-mcp": {
"url": "https://server.smithery.ai/@ref-tools/ref-tools-mcp/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
{
"mcpServers": {
"ref-tools-ref-tools-mcp": {
"serverUrl": "https://server.smithery.ai/@ref-tools/ref-tools-mcp/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install ref-tools-ref-tools-mcp in Antigravity CLI
https://server.smithery.ai/@ref-tools/ref-tools-mcp/mcpIn ChatGPT: Settings, Connectors, Add custom connector, then paste this URL. Works in any client that supports remote servers.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the ref-tools-ref-tools-mcp block.
About
Ref MCP gives an AI coding tool or agent access to documentation for APIs, services, libraries and similar resources. It exposes two tools, ref_search_documentation and ref_read_url. The search tool finds relevant documentation, including public web and GitHub sources and private resources such as repos and PDFs. The read tool fetches a URL and converts it to markdown.
The server tracks search history within an MCP session. It avoids returning repeated results and, when reading a page, keeps the most relevant sections, returning about 5k tokens. The project aims to reduce context use and token cost. It is intended for developers who want their coding agents to work from up-to-date technical documentation. The source also notes support for OpenAI deep research with renamed tools.
Written from the project's README and checked against it.
Tools it gives your assistant
ref_search_documentationSearches technical documentation, including public web, GitHub and private resources.ref_read_urlFetches a URL and converts its content to markdown for reading.
What you need
- Ref API key from ref.tools
- npx to run the stdio server
| Setting | Needed | What it is |
|---|---|---|
AuthorizationHeader, secret | Required | Bearer token for Smithery authentication |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Search Ref for the Figma API endpoint to post a comment
- Read this documentation URL and summarize the setup steps
- Find docs on n8n Code node access to multiple inputs
Good to know
- This repo contains the legacy stdio server; streamable HTTP is recommended.
- Pages read with ref_read_url are trimmed to the most relevant content, about 5k tokens.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to ref-tools-ref-tools-mcp
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
ref-tools-ref-tools-mcp: common questions
Does Ref MCP repeat the same search results?
For repeated similar searches in a session, Ref does not return repeated results. The source says the agent can page and adjust the prompt at the same time.
What is the difference between Ref's streamable HTTP and stdio setups?
The source describes streamable HTTP as the recommended option and the stdio server in this repo as the legacy option.
Can Ref be used with OpenAI deep research?
Yes. The source says Ref provides the same tools with different names for OpenAI clients: search for ref_search_documentation and fetch for ref_read_url.
How do I install ref-tools-ref-tools-mcp?
In Claude Code run claude mcp add --transport http ref-tools-ref-tools-mcp https://server.smithery.ai/@ref-tools/ref-tools-mcp/mcp --header "Authorization: Bearer YOUR_API_KEY". For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is ref-tools-ref-tools-mcp the official server?
ref-tools-ref-tools-mcp is published by smithery.ai from its verified domain in the official MCP Registry.
Is ref-tools-ref-tools-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is ref-tools-ref-tools-mcp safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to ref-tools-ref-tools-mcp?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does ref-tools-ref-tools-mcp work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
