
Sarvam
STDIOMCP server for Indian language text processing with language identification, analytics and translation
MCP server for Indian language text processing with language identification, analytics and translation
An MCP server implementation that integrates the Sarvam API, providing comprehensive text processing capabilities for Indian languages.
language-identification
input
(string): Text to identify language and scripttext-analytics
text
(string): Text to analyzequestions
(string[]): Array of questions to answer about the texttranslate-text
input
(string): Text to translatesource_language_code
(string): Source language codetarget_language_code
(string): Target language codespeaker_gender
(string, optional): Speaker's gendermode
(string, optional): Translation modemodel
(string, optional): Translation modelenable_processing
(boolean, optional): Enable additional processingoutput_script
(string, optional): Target scriptnumerals_format
(string, optional): Format for numeralstransliterate-text
input
(string): Text to transliteratesource_language_code
(string): Source language codetarget_language_code
(string): Target language codenumerals_format
(string, optional): Format for numeralsspoken_form
(boolean, optional): Enable spoken formspoken_form_numerals_language
(string, optional): Language for spoken numeralsAdd this to your claude_desktop_config.json
:
{ "mcpServers": { "sarvam": { "command": "npx", "args": [ "-y", "sarvam-mcp-server" ], "env": { "SARVAM_API_KEY": "YOUR_API_KEY_HERE" } } } }
The package is available on npm as sarvam-mcp-server
. Install it using:
npm install sarvam-mcp-server
The server is available as a Docker image at shbhtngpl/sarvam-mcp-server.
docker pull shbhtngpl/sarvam-mcp-server
docker run -i --rm -e SARVAM_API_KEY=your_api_key_here shbhtngpl/sarvam-mcp-server
For Claude Desktop integration, use this configuration in your claude_desktop_config.json
:
{ "mcpServers": { "sarvam": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "SARVAM_API_KEY", "shbhtngpl/sarvam-mcp-server" ], "env": { "SARVAM_API_KEY": "YOUR_API_KEY_HERE" } } } }
git clone https://github.com/Shobhit-Nagpal/sarvam-mcp-server.git cd sarvam-mcp-server
npm install
npm start
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.