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

@vineethnkrishnan/stripe-mcp

v1.2.0

Published

An MCP server for Stripe API, enabling AI assistants to query financial data.

Readme

Stripe MCP Server

MCP License: MIT

A Model Context Protocol (MCP) server that provides AI assistants (Claude, Cursor, etc.) with a comprehensive interface to the Stripe API.

Overview

stripe-mcp allows your AI assistant to directly interact with your Stripe data. It enables powerful natural language queries like:

  • "How many active subscriptions do we have?"
  • "Why did the last payment for cus_123 fail?"
  • "Summarize our payouts from the last 30 days."
  • "What is our current available balance in USD?"

Features

  • Modular Architecture: Built with clean layered design for high maintainability.
  • Type-Safe: Fully implemented in TypeScript with Zod schema validation.
  • Comprehensive Coverage: Full access to Customers, Payments, Subscriptions, Invoices, Products, Checkout, Reporting, and Tax.
  • LLM-Optimized: Responses are automatically transformed to reduce token usage.

Installation

Using npx (Recommended)

No installation required. Run directly:

npx -y @vineethnkrishnan/stripe-mcp

Global Install

npm install -g @vineethnkrishnan/stripe-mcp
stripe-mcp

From Source

git clone https://github.com/vineethkrishnan/mcp-pool.git
cd mcp-pool
npm install
npm run build

Configuration

Add to your MCP client configuration file:

| Platform | Config file path | |----------|-----------------| | macOS | ~/Library/Application Support/Claude/claude_desktop_config.json | | Windows | %APPDATA%\Claude\claude_desktop_config.json | | Linux | ~/.config/Claude/claude_desktop_config.json |

Using npx (Recommended)

{
  "mcpServers": {
    "stripe": {
      "command": "npx",
      "args": ["-y", "@vineethnkrishnan/stripe-mcp"],
      "env": {
        "STRIPE_SECRET_KEY": "sk_test_..."
      }
    }
  }
}

Local Build

{
  "mcpServers": {
    "stripe": {
      "command": "node",
      "args": ["/absolute/path/to/stripe-mcp/build/index.js"],
      "env": {
        "STRIPE_SECRET_KEY": "sk_test_..."
      }
    }
  }
}

Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | STRIPE_SECRET_KEY | Yes | - | Stripe secret API key (starts with sk_test_ or sk_live_). |

Getting Your API Key

  1. Log in to the Stripe Dashboard
  2. Go to Developers > API keys
  3. Copy your Secret key (starts with sk_test_ for test mode or sk_live_ for production)

Use a test mode key (sk_test_...) while getting started. Switch to live mode when ready.

Response Optimization

All responses are automatically optimized for LLM context windows:

  • Internal keys stripped: object, livemode, request, pending_webhooks, api_version, and lastResponse are removed from Stripe responses.
  • Timestamps converted: Unix timestamps (e.g., created, current_period_end) are converted to human-readable ISO 8601 strings.

This reduces token usage and improves readability for AI assistants.

Documentation

For a full list of available tools, detailed examples, and architectural details, visit the documentation site or refer to the local documentation guide.

Uninstallation

# If installed globally
npm uninstall -g @vineethnkrishnan/stripe-mcp

Testing

npm test

License

This project is licensed under the MIT License.