Skip to content
MCP server

sarvam-mcp MCP Server

Official Sarvam AI MCP server — STT, TTS, Translate, Transliterate, LLM, Vision OCR for Indic languages

sarvam-mcp scores 49 (Fair), licensed MIT and written in Python. It installs as a local process. It declares 28 tools. Filed under Media, AI and memory. GitHub shows 39 stars. Package registries report about 1,150 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by sarvamaiMITPython39 stars
Trust score
49Fair
Trust score 49 of 100, Fair

Fair trust

49 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 49 comes from

0 + 20 + 5 + 10 + 4 + 10 = 49. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity5 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 5 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "sarvamai-sarvam-mcp": {      "command": "uvx",      "args": [        "sarvam-mcp"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools28Tool docs quality grade D

All capabilities

About

sarvam-mcp

Official Sarvam MCP server. Exposes the Sarvam Model APIs — STT, TTS, Dictate, Instant Voice Cloning, Translate, Transliterate, Language ID, chat LLMs (Sarvam-105B plus open-weight Token Factory models via Chat V2), the Responses API, Document Intelligence, Document Translation, Dubbing, Prism Decisions and Pronunciation Dictionaries — as first-class MCP tools so any MCP-aware client (Claude Desktop, Claude Code, Cursor, Windsurf, Zed) can call Sarvam with zero boilerplate.

Cross-platform Python package: macOS, Windows, and Linux (Python 3.11+).

Quickstart

1. Get your API key

Sign up or log in at dashboard.sarvam.ai/key-management and copy your API key (sk_...).

2. Add to your MCP client

Paste this into your MCP config JSON:

{
  "mcpServers": {
    "sarvam": {
      "command": "uvx",
      "args": ["sarvam-mcp"],
      "env": {
        "SARVAM_API_KEY": "sk_..."
      }
    }
  }
}

Replace sk_... with your actual API key.

If you've installed via pip install sarvam-mcp, you can use the console script directly:

{
  "mcpServers": {
    "sarvam": {
      "command": "sarvam-mcp",
      "env": {
        "SARVAM_API_KEY": "sk_..."
      }
    }
  }
}

3. Config file locations

ClientConfig path
Cursor~/.cursor/mcp.json (macOS/Linux) · %USERPROFILE%\.cursor\mcp.json (Windows)
Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.json (macOS) · %APPDATA%\Claude\claude_desktop_config.json (Windows)
Claude Codeclaude mcp add sarvam -- uvx sarvam-mcp (then set SARVAM_API_KEY env var)
WindsurfCascade settings → MCP servers
Zedsettings.json → context_servers

Alternative: credentials file

Instead of setting SARVAM_API_KEY in the JSON config, you can store it in ~/.sarvam/credentials:

api_key = sk_...

The server checks SARVAM_API_KEY env var first, then falls back to ~/.sarvam/credentials.

Install

# Option A: run directly (no install needed)
uvx sarvam-mcp

# Option B: install globally
pip install sarvam-mcp

Tools

All defaults below reflect the latest non-deprecated models.

ToolWhat it doesDefault model
sarvam_stt_transcribeAudio file → transcript (5 modes, including English via mode=translate)saaras:v4
sarvam_stt_realtimeMono WAV → realtime transcriptsaaras:v4
sarvam_tts_speakText → audio filebulbul:v3, bulbul:v4-flash
sarvam_tts_streamText → streamed audiobulbul:v3, bulbul:v4-flash
sarvam_translateCross-language text translatemayura:v1
sarvam_document_translateWhole document, layout preserved—
sarvam_transliterateScript conversion—
sarvam_identify_languageLanguage + script detect—
sarvam_text_analyticsRetired endpoint — kept only as a stub that raises—
sarvam_llm_completeChat completions (v1 for Sarvam models; v2 for glm5.3, gemma4, deepseek, kimi, qwen)sarvam-105b
sarvam_chat_v2_completeChat Completion V2 (/v2/chat/completions): logprobs, session affinity, image input, extra_body, per-model rulessarvam-105b
sarvam_responses_createStateless Responses API (/v2/responses)sarvam-105b
sarvam_embedText embeddings, embeddinggemma-2 (/v2/embeddings, provisioned) with optional task prefixesembeddinggemma-2
sarvam_list_modelsChat models available to your key (/v2/models)—
sarvam_dictate_clipShort clip → clean, styled text with vocabulary + derived outputdictate-v1
sarvam_dictate_job_submit / _job_statusDictate recordings up to 1 hour (async)dictate-v1
sarvam_cloned_voice_create / _speak / _list / _get / _deleteInstant Voice Cloning (beta)—
sarvam_cloned_voice_watermark_detectCheck audio for Sarvam's watermark (free)—
sarvam_vision_parseDocument OCR to markdown, HTML, or JSONSarvam Vision
sarvam_vision_extractSchema extraction from a documentSarvam Vision
sarvam_vision_classifyLabel a document, or each page, against your categoriesSarvam Vision
sarvam_vision_splitSplit a bundle of pages into separate documentsSarvam Vision
sarvam_vision_job_statusPoll a Document AI job—
sarvam_prism_decideCalibrated yes/no, pick-one and ordered-scale decisionssarvam-prism
sarvam_dubbing_submitOfficial video/audio dubbing job—
sarvam_pronunciation_listList pronunciation dictionaries—
sarvam_pronunciation_getGet a pronunciation dictionary—
sarvam_pronunciation_createCreate a pronunciation dictionary—
sarvam_pronunciation_updateAdd/overwrite entries (others unchanged)—
sarvam_pronunciation_deleteDelete a pronunciation dictionary—

Build-time helpers (sarvam_code_*) include sarvam_code_pricing (INR per plan) and sarvam_code_rate_limits (per plan, per API). Voice Agents (deployments, campaigns, analytics) are not in this server — Sarvam hosts a separate Voice Agents MCP at https://mcp.sarvam.ai/voice-agents (OAuth). Tool names are shown above without the sarvam_tools_ prefix.

Provisioned Throughput models (deepseekv4-pro, kimi-k3.1-pro, qwen38-27b, clef, embeddinggemma-2) are not self-serve: contact Sarvam support (support@sarvam.ai, docs) with the model you need and your expected volume. Without access deepseekv4-pro returns 400 and the others 404; sarvam_list_models shows which your key can use. The MCP turns those errors into this guidance. Exhausted credits surface as a quota error (HTTP 402).

Configuration

Env varDefaultDescription
SARVAM_API_KEY—Required. API key from dashboard.sarvam.ai.
SARVAM_API_BASE_URLhttps://api.sarvam.aiOverride for testing/staging.
SARVAM_MCP_BASE_PATH~/DesktopWhere audio/document files land.
SARVAM_AUDIO_OUTPUT_MODEfilesfiles | resources | both.

Two namespaces

The server exposes tools across two namespaces:

  • sarvam_tools_* — runtime tools. Call Sarvam APIs to do things (transcribe, speak, translate, etc.).
  • sarvam_code_* — builder tools. Help you write code that uses Sarvam: docs, endpoint shapes, language lists, code snippets, starter projects.

Development

uv venv && source .venv/bin/activate
uv pip install -e ".[dev]"
pytest -q
mcp dev src/sarvam_mcp/server.py

Frequently asked questions

What is sarvam-mcp MCP Server?

Official Sarvam AI MCP server — STT, TTS, Translate, Transliterate, LLM, Vision OCR for Indic languages

How do I install sarvam-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. sarvam-mcp MCP Server runs locally from the PyPI package sarvam-mcp with the command uvx sarvam-mcp.

Is sarvam-mcp MCP Server free and open source?

Yes. sarvam-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does sarvam-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for sarvam-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does sarvam-mcp MCP Server provide?

sarvam-mcp MCP Server provides 28 tools, including sarvam_chat_v2_complete, sarvam_cloned_voice_watermark_detect, sarvam_dictate_clip, and sarvam_document_translate. See the full tool list for descriptions and parameters.

How is sarvam-mcp MCP Server's trust score calculated?

sarvam-mcp MCP Server scores 49 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server