Ref
Up-to-date documentation for your coding agent. Covers 1000s of public repos and sites. Built by ref.tools
Ads
Overview
A ModelContextProtocol server that gives your AI coding tool or agent access to documentation for APIs, services, libraries etc. It's your one-stop-shop to keep your agent up-to-date on documentation in a fast and token-efficient way. Ref's tools are designed to match how models search while using as little context as possible to reduce context rot. The goal is to find exactly the context your coding agent needs to be successful while using minimum tokens. Depending on the complexity of the prompt, LLM coding agents like Claude Code will typically do one or more searches and then choose a few resources to read in more depth.
Installation
npm install
Configuration
Configuration example is not available yet.
Capabilities
- Search for technical documentation
Ask your agent to find facts, code snippets, or API references across public docs, GitHub, or private resources using `ref_search_documentation`.
- Read and convert any documentation page
Have your agent fetch a URL and get back clean markdown of the most relevant sections with `ref_read_url`.
- Refine searches without repeating results
The server automatically filters out previously seen results when you refine or repeat similar queries in the same session.
- Get token-efficient context
Relevant page sections are surfaced while less relevant parts are dropped, keeping context under 5k tokens per read.
Tags
- documentation
- document
- development
Related MCP servers
Context7 MCP
OfficialOfficial Context7 MCP server that brings up-to-date, version-specific library documentation and code examples into AI coding prompts.
Chrome DevTools MCP
OfficialOfficial Chrome DevTools MCP server for controlling and inspecting a live Chrome browser from coding agents such as Gemini, Claude, Cursor, and Copilot.
Mastra/mcp
OfficialClient implementation for Mastra, providing seamless integration with MCP-compatible AI models and tools.
GitHub MCP Server
OfficialConnect your AI assistant to GitHub repositories, issues, pull requests, and search.