Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 94
  • 1.2k stars
  • MIT
  • Updated

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

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
SettingNeededWhat it is
AuthorizationHeader, secretRequiredBearer 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

A

No 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 →

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.

ref-tools-ref-tools-mcp Install

Add to stack

Loading.