Best for
- AI coding agents that need technical documentation lookup
- Teams seeking to reduce irrelevant documentation context and token usage
- Users who need access to public and authorized private documentation resources
The supplied materials describe Ref MCP as a token-efficient documentation search and URL-reading server for coding agents, supporting Streamable HTTP and legacy stdio with API-key authentication.
Ref MCP is a Model Context Protocol server that gives AI coding tools and agents access to public and private documentation for APIs, services, and libraries. It filters repeated search results and returns the most relevant parts of pages using session search history to reduce context usage.
Streamable HTTP is recommended: connect to https://api.ref.tools/mcp and provide an API key. The legacy stdio option runs npx ref-tools-mcp@latest with the API key supplied through REF_API_KEY.
{"Ref":{"command":"npx","args":["ref-tools-mcp@latest"],"env":{"REF_API_KEY":"YOUR_API_KEY"}}}