Skip to main content
Mintlify

Search documentation

Type to search this documentation.

On this pageOverview

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.
  1. Route the question

    Index identifies whether the question concerns a product in its documentation collection 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.

  • 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.
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu