ref-tools-mcp

Level ARemote

Helping coding agents never make mistakes working with public or private libraries without wasting the context window.

Overview

Ref MCP is a Model Context Protocol server that gives AI coding tools and agents access to documentation for APIs, services, and libraries. It tracks search history within a session, filters out repeated results, and returns only the most relevant ~5k tokens of a page, keeping agents up to date while minimizing context usage and token cost.

⭐ 1.2kDevelopment ToolsTypeScriptRepo ↗Updated 2026-11-06

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "ref-tools-mcp": {
      "url": "https://api.ref.tools/mcp"
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/ref-tools/ref-tools-mcp

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "ref-tools-mcp": {
      "url": "https://api.ref.tools/mcp"
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers