RAGMap (RAG MCP Registry Finder) is an MCP sub-registry and MCP server for RAG (Retrieval-Augmented Generation) scenarios. Its core positioning is as a "discovery and routing layer for retrieval," helping agents and humans answer: given the constraints, which retrieval MCP server should be used? RAGMap itself does not perform retrieval; instead, it indexes and enriches servers with retrieval capabilities, then routes users to the correct tool or server.
Main capabilities include:
- Registry-compatible API: provides endpoints compatible with the official MCP registry.
- Semantic and keyword search: semantic search can be enabled when OPENAI_API_KEY is set (for example, via an environment variable or a deployed secret manager).
- Categorization and ragScore: categorizes servers and calculates a ragScore rating.
- Filtering: supports filtering by conditions such as hasRemote, reachable (probe checks for streamable-http/SSE), citations, localOnly, transport, minScore, categories, etc.
- Human browsing interface: located at ragmap-api.web.app/browse, supports search, filtering, and copying Cursor/Claude configuration.
- MCP tools: provides four tools: rag_find_servers, rag_get_server, rag_list_categories, rag_explain_score.
Usage: After installation, users get discovery/routing tools (rag_find_servers, rag_get_server, rag_list_categories, rag_explain_score). RAGMap helps find the retrieval server best suited to the task and constraints, and then the agent connects to the selected server to perform the actual retrieval.
API endpoints include:
- GET /embed — embeddable "Search RAG MCP servers" widget (iframe; query parameters: q, limit)
- GET /health (includes embeddings: true|false when semantic search is enabled)
- GET /v0.1/servers
- GET /v0.1/servers/:serverName/versions
- GET /v0.1/servers/:serverName/versions/:version (supports latest)
- GET /rag/search
- GET /rag/top (default sorted recommendations; limit max 50)
- GET /rag/install
- GET /rag/categories
- GET /api/stats (public usage aggregation; no PII)
- GET /api/usage-graph (usage HTML chart)
- POST /internal/ingest/run (protected)
For the hosted service ragmap-api.web.app, /internal/* routes are not publicly exposed.
GET /rag/search query parameters:
- categories (comma-separated)
- minScore (0-100)
- transport (stdio or streamable-http)
- registryType (string)
- hasRemote (true or false — include only servers with remote endpoints)
- reachable (true — include only servers recently verified as reachable via streamable-http/SSE probe checks)
- reachableMaxAgeHours (optional, only used with reachable=true — keep only results checked within the last N hours)
- citations (true — include only servers whose metadata mentions citations/grounding)
- localOnly (true — stdio only, no remote)
Use cases:
- An agent needs to discover and route to a suitable retrieval MCP server based on the task and constraints.
- A developer needs to search and filter RAG-related MCP servers and obtain installation configuration.
- Need to understand the categories, scoring, and reachability information of RAG MCP servers.
Limitations:
- RAGMap does not automatically ingest users' private documents.
- It does not host users' personal vector databases.
- It does not replace an end-to-end RAG pipeline.
- If retrieval over your own data is needed, you should use RAGMap The retrieval server in the results (or your own server) to support the ingestion/indexing process.
- Hosted RAGMap updates the index on a schedule, and newly published/changed servers may be delayed.
- Most users do not need to run ingestion themselves when using the hosted service.
- If you need stricter freshness control or private indexing behavior, you can self-host and run your own ingestion schedule (see docs/DEPLOYMENT.md).
Requirements: curl and jq.
Monorepo layout:
- apps/api: REST API + MCP registry-compatible endpoints + ingestion worker
- apps/mcp-remote: remote MCP server (Streamable HTTP)
- packages/mcp-local: local MCP server (stdio)
- packages/shared: Zod schemas + shared types
- docs: documentation + Firebase Hosting static assets
Optional: set OPENAI_API_KEY in .env (see .env.example) to enable semantic search locally; GET /health will show "embeddings": true.
API:http://localhost:3000 MCP remote:http://localhost:4000/mcp
Installation methods for remote (Streamable HTTP) and local (stdio, npm) are provided in the official documentation.
Related documentation:
- docs/DISCOVERY-LINK-CONVENTION.md — optional discoveryService in server.json so clients can display "Discover more"
- docs/AGENT-USAGE.md — for agents: discovery, REST API, MCP installation (no human intervention required)
- docs/DEPLOYMENT.md
- docs/OVERVIEW.md
- docs/DATA_MODEL.md
- docs/PRIVACY.md
- docs/PUBLISHING.md
- docs/GLAMA-CHECKLIST.md
- docs/GLAMA-DOCKERFILE.md
- scripts/glama-score-status.sh — prints public Glama score flags (inspectable/release/usage)