Skip to main content
Glama
mcp-discovery

mcp-discovery

by yksanjo

mcp-discovery

An MCP server that helps AI agents find other MCP servers.

CI License Last Commit

Ask in natural language — "what's available for sending Slack messages?" — and get back ranked servers with install commands and trust signals, instead of maintaining a hand-curated config file.

Ships with a bundled registry snapshot of 17,785 unique MCP servers (deduplicated from 18,366 raw records scraped 2026-02-09 from Glama.ai, npm, GitHub topics, and awesome lists). Works fully offline with zero API keys.

Quick start (local mode, no keys)

git clone https://github.com/yksanjo/mcp-discovery
cd mcp-discovery
npm ci
npm run build

Add to Claude Code:

claude mcp add mcp-discovery -- node /path/to/mcp-discovery/dist/index.js

Or to Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "mcp-discovery": {
      "command": "node",
      "args": ["/path/to/mcp-discovery/dist/index.js"]
    }
  }
}

Then ask your agent things like "find me an MCP server for querying Postgres" and it will call discover_mcp_server and get ranked, installable results.

Related MCP server: mcp-server-mcpindex

Tools

Tool

Local mode

Hosted mode

discover_mcp_server

✅ keyword search over the bundled snapshot

✅ semantic search (OpenAI embeddings + pgvector)

get_server_metrics

❌ (needs live probe data)

✅ latency / uptime / success-rate history

compare_servers

❌ (needs live probe data)

✅ side-by-side rankings

In local mode, trust_score (0–100) is derived from GitHub stars and results carry no latency/uptime metrics — those require the hosted database. The two hosted-only tools fail fast with a clear message rather than crashing.

Honest caveats about the bundled data: install commands are best-effort from the scrape (verify before running anything), category labels are mostly missing, and the snapshot is a point in time — see "Refreshing the data" below.

Hosted mode (optional)

For semantic search and live metrics you run your own backing services. There is currently no public hosted instance.

Required environment variables:

SUPABASE_URL=...                  # Postgres + pgvector (schema in src/db/)
SUPABASE_SERVICE_ROLE_KEY=...
OPENAI_API_KEY=...                # text-embedding queries

Setup: apply src/db/mcp-curator-schema.sql, then npm run seed and npm run generate-embeddings. DATABASE.md documents the schema. The REST API (npm run start, see src/api.ts and api/ for the Vercel entry) exposes the same search over HTTP.

Integrations

  • langchain/ — MCPDiscoveryTool for LangChain agents (async via aiohttp). Targets a hosted API endpoint you deploy yourself.

  • AutoGPT blocks — MCPDiscoveryBlock / MCPDiscoveryCategoriesBlock.

Refreshing the data

The scrapers live in scripts/ (scrape_massive.py, scrape-glama.ts, and friends). They regenerate data_massive/mcp_servers_all.json, which local mode picks up automatically. You can also point MCP_DISCOVERY_DATA at any JSON file with the same record shape.

For allow/deny policies (e.g. excluding servers your org hasn't vetted), pass exclude_servers — see SECURITY.md.

Development

npm run typecheck   # tsc --noEmit
npm run test:run    # vitest (includes an end-to-end local-mode discover)
npm run build       # compile to dist/

CI runs all three on every push and PR.

License

MIT

Available Tools

3 tools
compare_serversA

Compare multiple MCP servers side-by-side on latency, uptime, and features. Returns rankings for each dimension.

Inputs: server_ids (required), compare_by.

discover_mcp_serverA

Find MCP servers matching a natural language requirement. Returns ranked recommendations with capabilities, metrics, trust scores, and installation commands.

Inputs: need (required), limit, constraints, force_refresh.

get_server_metricsA

Get detailed performance metrics for a specific MCP server including latency, success rate, and uptime history.

Inputs: server_id (required), time_range.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 3 tools

    Disambiguation4/5

    Each tool has a distinct scope: discover_mcp_server is search/recommendation, get_server_metrics is single-server deep metrics, and compare_servers is multi-server side-by-side. The only mild overlap is that get_server_metrics and compare_servers both surface latency/uptime data, which could make an agent hesitate on whether to compare one server's metrics or fetch them directly.

    Naming Consistency5/5

    All three tools follow a consistent verb_noun snake_case pattern (discover_mcp_server, get_server_metrics, compare_servers) with verb-first phrasing and clear object nouns. No mixed conventions or camelCase deviations.

    Tool Count4/5

    Three tools is on the low end but each covers a genuinely different need in the discovery workflow (find, inspect, compare). It is well-scoped and nothing feels redundant, though the surface is thin enough that a couple more operations could reasonably earn a place.

    Completeness4/5

    The core discovery lifecycle is covered: search by requirement, evaluate a single server's metrics, and compare candidates. A gap remains in retrieving full details/installation info for a known server by name or ID (that data is only attached as a side effect of discover), plus no browsing by category or tag.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      A searchable directory of MCP server recipes that enables AI agents to discover, inspect, and download server configurations natively through tool calls. It features weighted search and provides detailed configuration data for a variety of pre-seeded MCP servers.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      AI-first MCP server discovery tool that enables agents to search, inspect, and install MCP servers from multiple registries.
      16
      AGPL 3.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      Finds the right MCP server for a task from over 1,400 indexed servers ranked by community trust. Also provides outcome-ranked web search for AI agents with no API key or rate limits.
      4
      -