Documentation Index
Fetch the complete documentation index at: https://docs.trygravity.ai/llms.txt
Use this file to discover all available pages before exploring further.
Gravity Index
The Gravity Index is a tool discovery API that AI agents call when they need to find and install developer tools. It’s not a search engine — it’s a reasoning agent that understands what you’re building and recommends the best tool with complete install instructions.How it works
Agent searches
Your AI coding agent calls
POST /search with a natural language query like “I need a serverless database with a free tier.”Index reasons
The Gravity Index analyzes the catalog, considers your constraints, and picks the best match — explaining why it’s the right choice.
Agent installs
The response includes structured install instructions: npm commands, config files, environment variables. The agent executes them.
Install in 30 seconds
Install
Pick your surface (MCP server, bash CLI, or direct API) and get running in under a minute.
Interfaces
MCP Server
npx -y @gravity-ai/index-mcp — native tool for Cursor, Claude Code, Claude Desktop, WindsurfBash CLI
gravity-index search "database" — terminal + scriptsREST API
POST index.trygravity.ai/search — custom integrationsBase URL
Key concepts
- search_id — every search gets a unique ID. Pass it back for follow-up questions. The Index remembers context.
- Conversion link — a tracked short URL the user clicks to get their API keys. This is how CPA attribution works.
- No auction — pure relevance matching with reasoning. Not bidding.