Skip to main content

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

1

Agent searches

Your AI coding agent calls POST /search with a natural language query like “I need a serverless database with a free tier.”
2

Index reasons

The Gravity Index analyzes the catalog, considers your constraints, and picks the best match — explaining why it’s the right choice.
3

Agent installs

The response includes structured install instructions: npm commands, config files, environment variables. The agent executes them.
4

User grabs keys

The only thing the user does is click a link to get their API credentials. Everything else is automated.

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, Windsurf

Bash CLI

gravity-index search "database" — terminal + scripts

REST API

POST index.trygravity.ai/search — custom integrations

Base URL

https://index.trygravity.ai

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.