Skip to main content
The Gravity Index ships as an MCP server so AI coding agents can call it as a native tool — no HTTP client code needed. One-liner — no Python, no clone, no build.

Required publisher key

Pass your publisher key so Index requests and completed integrations attribute to your platform:
Optional private ranking is configured with GRAVITY_INDEX_MONETIZATION_MODE=boost_cpa — relevance-first ranking that gives a small boost to services with an active CPA campaign. MCP tool output does not expose economics.

Install (Python, for self-hosted setups)

The reference implementation lives in the Gravity monorepo at index/mcp/gravity_index_mcp.py. Exposes the same tools, identical behaviour.

Tools

Five tools. All return plain-text markdown the agent can display directly. Search for the best tool for a development task. Returns a reasoned recommendation with install instructions and a setup link. Example:

gravity_index_browse

Browse the catalog by category or keyword.

gravity_index_get_service

Fetch the full detail for a single service by slug.

gravity_index_list_categories

Enumerate every category with the service count. Takes no arguments.

gravity_index_report_integration

Record a completed integration when the agent finishes an install. Accepts the search_id from a prior search and the slug of the service that was actually integrated.

Zero dependencies

The npm server is a single Node 18+ .mjs file with no runtime deps. The Python server is stdlib-only.