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

openapi-modifier-mcp

v1.0.2

Published

MCP server for working with OpenAPI Modifier rules

Readme

🇺🇸 English | 🇷🇺 Русский | 🇨🇳 中文

OpenAPI Modifier MCP Server

MCP (Model Context Protocol) server for working with openapi-modifier rules and configurations.

Installation

cd mcp
npm install
npm run build

Configuration in Cursor

Add to .cursor/mcp.json (or MCP settings):

{
  "mcpServers": {
    "openapi-modifier": {
      "command": "npx",
      "args": [
        "openapi-modifier-mcp"
      ],
      "env": {
        "LANG": "en"
      }
    }
  }
}

Note: The LANG environment variable determines the default documentation language (en, ru, zh). If not specified, en is used.

Configuration in Claude Desktop

Add to the Claude Desktop configuration file:

macOS:

~/Library/Application Support/Claude/claude_desktop_config.json

Windows:

%APPDATA%\Claude\claude_desktop_config.json

Linux:

~/.config/Claude/claude_desktop_config.json

Configuration:

{
  "mcpServers": {
    "openapi-modifier": {
      "command": "npx",
      "args": [
        "openapi-modifier-mcp"
      ],
      "env": {
        "LANG": "en"
      }
    }
  }
}

After adding the configuration, restart Claude Desktop.

Note: The LANG environment variable determines the default documentation language (en, ru, zh). If not specified, en is used.

Configuration in Roo

Add to the Roo configuration file:

macOS:

~/Library/Application Support/Roo/roo_config.json

Windows:

%APPDATA%\Roo\roo_config.json

Linux:

~/.config/Roo/roo_config.json

Configuration:

{
  "mcpServers": {
    "openapi-modifier": {
      "command": "npx",
      "args": [
        "openapi-modifier-mcp"
      ],
      "env": {
        "LANG": "en"
      }
    }
  }
}

After adding the configuration, restart Roo.

Note: The LANG environment variable determines the default documentation language (en, ru, zh). If not specified, en is used.

Tools

  • list_rules — returns a list of all available openapi-modifier rules with their brief descriptions. Supports the lang parameter for selecting documentation language (en, ru, zh).
  • get_rule_config — gets the configuration description for a specific rule. Supports the lang parameter for selecting documentation language (en, ru, zh).
  • get_simple_text_file_modifier_doc — gets the Simple Text File Modifier cli documentation (adding text to the beginning/end of a file, replacement by regular expressions). Supports the lang parameter for selecting documentation language (en, ru, zh).

Development

npm run build   # build TypeScript to JavaScript

After building, the server is ready to use. Use the path to dist/index.js in the MCP configuration to run it.

Development Setup

For development, you can use the local build:

{
  "mcpServers": {
    "openapi-modifier": {
      "command": "node",
      "args": ["/path/to/openapi-modifier/mcp/dist/index.js"],
      "env": {
        "LANG": "en"
      }
    }
  }
}

Structure

mcp/
├── docs/
│   ├── rules.md    # list of rules (source for list_rules)
│   ├── rules-ru.md
│   └── rules-zh.md
├── resources/
│   └── rules.json  # list of available rules
├── src/
│   └── index.ts
├── dist/           # after npm run build
├── package.json
├── tsconfig.json
└── README.md

Languages

The server supports three documentation languages: en (default), ru, zh. The default language is determined from the LANG environment variable or set to en if the variable is not set or contains an unsupported value.