Skip to main content
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

1

Route the question

Index identifies whether the question concerns a product in its documentation corpus or requires broader web results.
2

Retrieve relevant sources

Product-specific questions search current documentation from the publisher. Other questions search the web.
3

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 after search to retrieve content for selected Mintlify result IDs or result URLs. Available through the REST API.