Ref Tools MCP provides AI coding agents and tools with efficient access to API and service documentation through semantic search and intelligent content extraction. The server offers two primary tools: a search function that finds relevant documentation pages while filtering out previously returned results within a session, and a read function that extracts the most contextually relevant sections from documentation pages based on search history. This approach minimizes token usage and context rot by delivering precisely targeted documentation excerpts rather than full pages, enabling agents to iteratively refine searches and gather only the information needed for successful code generation.
claude mcp add --transport stdio ref-tools-ref-tools-mcp uvx ref-tools-mcp