index.md
Index
Give coding agents current technical context from publisher-maintained documentation and the web through one MCP server or REST API.
Mintlify Index gives coding agents one search layer for technical knowledge. It routes questions about indexed products to publisher-maintained documentation hosted on Mintlify and uses web search for questions outside that corpus.
Use Index through the public MCP server or the access-controlled REST API.
- MCP server: Connect an AI tool and let it retrieve source-cited context while you work. Publicly available. Does not require an API key.
- REST API: Search for ranked sources, assemble context within a token budget, or retrieve the contents of selected results. Access-controlled. Requires an Index API key.
Get started
Connect your coding agent
Add Index to Claude Code, Codex, Cursor, and other coding agents.
MCP reference
Review the context tool, input fields, output, and rate limits.
REST API
Use search, context, and contents in an application or agent.
How Index retrieves context
Route the question
Index identifies whether the question concerns a product in its documentation collection or requires broader web results.
Retrieve relevant sources
Product-specific questions search current documentation from the publisher. Other questions search the web.
Return agent-ready context
Index ranks the results and returns source URLs with the relevant content. The MCP context tool and REST context endpoint assemble that content within a token budget.
Choose a retrieval operation
context: Use this for most agent tasks. It returns a compact set of cited source material in one request.search: Use this when your application needs ranked results and controls which sources to read. Available through the REST API.contents: Use this aftersearchto retrieve content for selected Mintlify result IDs or result URLs. Available through the REST API.