Context7
Context7 is a documentation index that AI coding assistants query through MCP to get current, version-accurate docs while you code. The Sarvam docs are indexed there, so any assistant with the Context7 MCP server connected can pull them on demand — no Sarvam-specific configuration needed.
Library ID
The Sarvam documentation is available under the library ID:
You can browse the index directly at context7.com/websites/sarvam_ai.
Setup
Install the Context7 MCP server in your client (see the Context7 setup guide for all clients):
Usage
Once connected, reference the library in your prompt:
“Use library
/websites/sarvam_ai. Write a Python script that transcribesaudio.wavwith the latest Sarvam speech-to-text model.”
The assistant fetches the relevant Sarvam doc pages through Context7 and writes code against the current API.
Context7 vs. the Sarvam docs MCP server
Both give assistants live access to the docs. Use whichever fits your setup: