mcpField
S
Stripe Mcp Server

Stripe Mcp Server

Local
github.com/Lokesh-2025Finance1Updated 19w ago

About Stripe Mcp Server

A Stripe MCP server for Claude and other MCP clients, exposing account queries and refund actions through natural language. It covers customer, revenue, invoice, subscription, payment, and dispute data, with idempotency-safe writes and a pinned API version.

Key features

  1. 01List recent customers
  2. 02Calculate revenue by date range
  3. 03List invoices and failed payments
  4. 04Retrieve a customer's subscriptions
  5. 05Issue full or partial refunds
  6. 06Review disputes and deadlines

Use cases

  1. 01Check revenue for a chosen period
  2. 02Find unpaid invoices or failed payments
  3. 03Review subscriptions for a customer
  4. 04Issue a full or partial charge refund

MCP support

The server exposes seven Stripe tools to Claude and other MCP clients, including read operations and refund creation. It requires a Stripe secret API key.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Stripe MCP Server

A Model Context Protocol (MCP) server that connects Claude (or any MCP client) to your Stripe account. Query customers, revenue, invoices, subscriptions, disputes, and issue refunds — all via natural language.

Requirements

  • Node.js 18+
  • A Stripe account with a secret API key

Installation

git clone https://github.com/your-username/stripe-mcp-server.git
cd stripe-mcp-server
npm install
cp .env.example .env
# Edit .env and set STRIPE_SECRET_KEY

Running manually

STRIPE_SECRET_KEY=sk_live_... node index.js

Claude Desktop Configuration

Add the following to your claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):

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

Restart Claude Desktop after editing.

Tools

ToolDescriptionParameters
list_customersList recent Stripe customerslimit (1–100, default 10)
get_revenueTotal revenue from successful charges in a date rangefrom (YYYY-MM-DD), to (YYYY-MM-DD)
list_invoicesList invoices by status (open = unpaid)status (draft | open | paid | uncollectible | void)
list_failed_paymentsList recent failed charges with failure reasonslimit (1–100, default 10)
get_subscriptionGet all subscriptions for a customercustomer_id (e.g., cus_...)
create_refundIssue a full or partial refundcharge_id (e.g., ch_...), amount (cents, optional)
list_disputesList disputes/chargebacks with evidence deadlineslimit (1–100, default 10)

Example prompts

  • "List my last 20 customers"
  • "How much revenue did I make in May 2025?"
  • "Show me all unpaid invoices"
  • "What failed payments happened recently?"
  • "Get subscriptions for customer cus_ABC123"
  • "Refund charge ch_XYZ for $10"
  • "Are there any open disputes?"

Security

  • Never commit your .env file or hardcode your secret key.
  • Use a restricted key with only the permissions your use case needs.
  • Use sk_test_... keys for development.

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.