Feedback

Ref Tools MCP Server Verified

@ref-tools Claim

Basic information

Transport
stdio
Runtime
TypeScript
Version
1.0.0
Category
Author
ref-tools
Quality
25
Views
2K

About Ref Tools MCP Server

Boost AI coding agents with Ref Tools—efficient documentation access for faster, smarter code generation than GitHub Copilot.

Ref Tools is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by ref-tools. It exposes 2 tools, including ref_search_documentation, ref_read_url. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 1,138 GitHub stars. Source code is hosted on github.com. Related topics: coding-agent, developer-tools, docs, documentation, documentation-tool.

Connection details

https://server.smithery.ai/@ref-tools/ref-tools-mcp/mcp

Setup

claude mcp add ref-tools-mcp --transport http https://server.smithery.ai/@ref-tools/ref-tools-mcp/mcp

Ref Tools MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "ref-tools": {
            "command": "npx",
            "args": [
                "-y",
                "ref-tools-mcp@latest"
            ],
            "env": {
                "REF_API_KEY": "your-api-key-here"
            }
        }
    }
}

Ref Tools MCP Server tools

  • ref_search_documentation — Search 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.
    query:string*
  • ref_read_url — Read the content of a url as markdown. The EXACT url from a 'ref_search_documentation' result should be passed to this tool.
    url:string*

Overview

What is Ref Tools?

Ref MCP is a Model Context Protocol server that gives your AI coding tool or agent access to documentation for APIs, services, and libraries. It is designed for developers using LLM-based coding agents who need fast, token‑efficient access to up‑to‑date documentation.

How to use Ref Tools?

Install via npm (npx ref-tools-mcp) or connect via the streamable HTTP server at api.ref.tools/mcp. Use the tools ref_search_documentation (with a query string) and ref_read_url (with a URL) to search and fetch documentation.

Key features of Ref Tools

  • Deduplicates search results within a session.
  • Returns only the most relevant 5k tokens per page.
  • Reduces context rot by minimizing irrelevant tokens.
  • Supports both streamable HTTP and stdio transports.
  • Works as a documentation source for OpenAI deep research.
  • Tracks search trajectory across MCP sessions.

Use cases of Ref Tools

  • Querying API documentation for a specific endpoint.
  • Fetching library usage examples with minimal token cost.
  • Keeping an AI coding agent updated on multi‑step workflows.
  • Reducing costs by pulling only relevant parts of large docs.
  • Supporting research workflows that need repeated refined searches.

Frequently asked questions

1 What exactly does Ref MCP do?

It provides two tools: ref_search_documentation searches for relevant documentation based on a natural language query, and ref_read_url fetches the content of a URL, converting it to markdown and returning the most relevant portion (up to 5k tokens).

2 How do I get an API key?

Sign up at ref.tools to obtain an API key. The key is required for both the HTTP and stdio setup methods.

3 What transports does Ref MCP support?

Two transport options: streamable HTTP (recommended) and local stdio. The HTTP server URL is https://api.ref.tools/mcp?apiKey=YOUR_API_KEY; the stdio command is npx ref-tools-mcp@latest with the environment variable REF_API_KEY.

4 How does Ref MCP minimize token usage?

It deduplicates repeated search results in a session and fetches only the most relevant 5k token portion of a page based on the agent’s search history, avoiding the common problem of pulling 20k+ irrelevant tokens from large documentation pages.

5 Why is minimizing token context important for AI agents?

More context can make models less accurate (context rot), and extra tokens cost money—for example, 6k irrelevant tokens in a step using Claude Opus can waste ~$0.09 per step, adding up across multiple steps.

Videos

Tutorials, guides, and showcases related to Ref Tools MCP Server. The player loads when you press play.

Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬