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

@ppcantidio/openapi-mcp-server

v0.1.4

Published

MCP server for querying OpenAPI documentation conversationally

Readme

@ppcantidio/openapi-mcp-server

CI npm version

MCP Server that loads an OpenAPI 3.x spec and exposes it as tools for conversational API exploration — no more alt-tabbing to Swagger UI.

Quick Start

No install required — use npx:

{
  "mcpServers": {
    "my-api": {
      "command": "npx",
      "args": [
        "@ppcantidio/openapi-mcp-server",
        "--url",
        "https://api.example.com/openapi.json"
      ]
    }
  }
}

Add to Claude Code:

claude mcp add my-api -- npx @ppcantidio/openapi-mcp-server --url https://api.example.com/openapi.json

Configuration

| Option | Description | |---|---| | --url <url> | OpenAPI spec URL (JSON, OpenAPI 3.x) | | --ttl <seconds> | Auto-refresh interval (optional) | | OPENAPI_URL | Env var alternative to --url |

Multiple APIs

Register multiple instances, one per API:

{
  "mcpServers": {
    "spryx-api": {
      "command": "npx",
      "args": ["@ppcantidio/openapi-mcp-server", "--url", "https://api.spryx.ai/openapi.json"]
    },
    "stripe-api": {
      "command": "npx",
      "args": ["@ppcantidio/openapi-mcp-server", "--url", "https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json"]
    }
  }
}

Available Tools

| Tool | Description | |---|---| | list_endpoints | List all endpoints; filter by tag, method, deprecated | | get_endpoint | Full details for a specific endpoint (path + method), with $ref resolved | | search_endpoints | Free-text search across path, summary, description, operationId | | list_tags | All tags with descriptions and endpoint counts | | get_tag_endpoints | All endpoints for a specific tag | | get_schema | Named schema from components/schemas, with optional $ref resolution | | get_server_info | API title, version, server URLs, and totals | | refresh_spec | Re-fetch the spec without restarting the server |

Example Conversation

You: what modules does this API have?
Claude: [calls list_tags] → agents (8), billing (4), webhooks (3)

You: show me the agents endpoints
Claude: [calls get_tag_endpoints(tag="agents")] → list of 8 endpoints

You: what's the body for POST /v1/agents?
Claude: [calls get_endpoint(path="/v1/agents", method="POST")] → full details with resolved schema

You: is there anything webhook-related?
Claude: [calls search_endpoints(query="webhook")] → matching endpoints

Development

git clone https://github.com/ppcantidio/openapi-mcp-server
cd openapi-mcp-server
bun install

# Run from source
bun run dev --url https://api.example.com/openapi.json

# Test
bun test

# Lint
bun run lint

Tests

36 tests across unit (resolver) and integration (Petstore, medium API, Stripe subset fixtures).

License

MIT