npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@iflow-mcp/shobhit-nagpal-sarvam-mcp-server

v1.0.0

Published

A Model Context Protocol (MCP) server implementation for Sarvam's text processing capabilities, providing language identification, text analytics, translation, and transliteration services for Indian languages.

Readme

Sarvam MCP Server

An MCP server implementation that integrates the Sarvam API, providing comprehensive text processing capabilities for Indian languages.

Features

  • Language Identification: Detect language and script of input text (e.g., en-IN, hi-IN, Latin, Devanagari)
  • Text Analytics: Perform deep analysis and answer specific questions about text content
  • Text Translation: Translate between languages with speaker gender, mode, and script controls
  • Smart Processing: Support for numerals format, spoken form, and custom processing options

Tools

  • language-identification

    • Identifies language and script of input text
    • Inputs:
      • input (string): Text to identify language and script
  • text-analytics

    • Performs comprehensive text analysis
    • Inputs:
      • text (string): Text to analyze
      • questions (string[]): Array of questions to answer about the text
  • translate-text

    • Translates text between languages
    • Inputs:
      • input (string): Text to translate
      • source_language_code (string): Source language code
      • target_language_code (string): Target language code
      • speaker_gender (string, optional): Speaker's gender
      • mode (string, optional): Translation mode
      • model (string, optional): Translation model
      • enable_processing (boolean, optional): Enable additional processing
      • output_script (string, optional): Target script
      • numerals_format (string, optional): Format for numerals
  • transliterate-text

    • Converts text between different scripts
    • Inputs:
      • input (string): Text to transliterate
      • source_language_code (string): Source language code
      • target_language_code (string): Target language code
      • numerals_format (string, optional): Format for numerals
      • spoken_form (boolean, optional): Enable spoken form
      • spoken_form_numerals_language (string, optional): Language for spoken numerals

Configuration

Getting an API Key

  1. Sign up for a Sarvam API account
  2. Generate your API key from the developer dashboard

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "sarvam": {
      "command": "npx",
      "args": [
        "-y",
        "sarvam-mcp-server"
      ],
      "env": {
        "SARVAM_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

NPM Package

The package is available on npm as sarvam-mcp-server. Install it using:

npm install sarvam-mcp-server

Usage with Docker

The server is available as a Docker image at shbhtngpl/sarvam-mcp-server.

  1. Pull the image:
docker pull shbhtngpl/sarvam-mcp-server
  1. Run the container:
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"
      }
    }
  }
}

Development

Local Development

  1. Clone the repository:
git clone https://github.com/Shobhit-Nagpal/sarvam-mcp-server.git
cd sarvam-mcp-server
  1. Install dependencies:
npm install
  1. Run the server:
npm start

License

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.