Kyan Yang
Marketing
Share this article
Kyan Yang
Marketing
Share this article
Mintlify Index aggregates the docs of 9000 Mintlify-powered documentation sites into a natural language retrieval layer for coding agents.
The architecture begins by filtering agent queries into two categories:
- Queries that reference docs in the Mintlify-powered ecosystem, which then undergo an internally optimized retrieval process.
- All other queries, which are routed to a standard external provider.
Developer gives an agent an implementation task
↓
Agent calls search or context
↓
Mintlify Index routes each query
├─ product in Mintlify's hosted corpus → all public Mintlify-powered docs
└─ other query → web search
↓
Index returns ranked sources or token-budgeted context
↓
Agent can call contents to inspect a selected source
↓
Agent uses the evidence to answer or plan the change
Each search or context request routes the query to a retrieval source. Queries about products in Mintlify’s hosted corpus use eligible public documentation when those docs are likely to answer the request. Other queries route to a leading third party web search tool. If the selected source fails or returns no results, Index will also fall back to the other.
An agent can retrieve evidence in two ways. Context returns an assembled, token-budgeted bundle of ranked excerpts and source URLs. For more control, search returns ranked source metadata and optional matching text. The agent can then pass a Mintlify URL or document ID to contents to retrieve the selected page. With a follow-up query and length limit, contents can return the most relevant section. Index supplies the evidence, afterwhich the agent remains responsible for producing and validating the answer or implementation.
We then ran an experiment comparing Mintlify Index with Context7, a popular docs-retrieval service for coding agents. Across 150 implementation-planning tasks on 50 products hosted on Mintlify, a blinded pairwise judge preferred the plans produced with Mintlify Index in 96 tasks, nearly two-thirds.
Not only did the Mintlify Index group produce higher-quality results, but they also completed tasks 48% faster end-to-end, with 10% higher factual correctness, 10% better citation support, and 17% fewer critical errors.
![]()
In pursuit of our mission to optimize the interaction between agents and knowledge, this experiment showed us the potential benefits of a customized retrieval system only made possible by the ecosystem of Mintlify docs.
We’re launching a beta version of Mintlify Index today, free to use for everyone.
Try Mintlify Index
One API and MCP server for fast, accurate, up-to-date information from across the technical web.
More blog posts to read

Mintlify now supports WebMCP
Mintlify documentation sites now expose typed WebMCP tools that browser agents can use to search, read, and navigate documentation directly.
September 21, 2026Kyle Finken
Engineering

Rise of the Knowledge Engineer
Agents are one of the largest audiences for company knowledge, accounting for 66% of measured web traffic across documentation powered by Mintlify. The emerging role responsible for keeping that knowledge accurate and retrievable is the knowledge engineer.
September 16, 2026David Isquick
Product Marketing