Skip to main content
Glama
Stripe Billing MCP

Stripe Billing MCP

stripe-billing-mcp MCP server MCP Registry PyPI

stripe-billing-mcp MCP server

Stripe Billing MCP 服务器

由 MEOK AI Labs 提供 — 为每个人提供主权 AI 工具。

通过 MCP 管理 Stripe 客户、订阅、发票、结账会话和收入指标。赋予任何 AI 助手完整的计费超能力。

MCPize MIT License MEOK AI Labs

工具

工具

描述

create_customer

创建新的 Stripe 客户

search_customers

按电子邮件或姓名搜索客户

create_subscription

为客户订阅价格/计划

cancel_subscription

取消订阅

list_invoices

列出客户的近期发票

create_checkout_session

生成 Stripe 结账 URL

get_revenue_metrics

计算 MRR、ARR、流失率和 LTV

get_balance

获取当前账户余额和近期付款

Related MCP server: MCP Billing Gateway SDK

快速开始

pip install mcp
git clone https://github.com/CSOAI-ORG/stripe-billing-mcp.git
cd stripe-billing-mcp
python server.py

Claude Desktop 配置

{
  "mcpServers": {
    "stripe-billing": {
      "command": "python",
      "args": ["server.py"],
      "cwd": "/path/to/stripe-billing-mcp"
    }
  }
}

定价

计划

价格

请求

免费版

$0/月

每天 10 次写入,读取无限制

专业版

$12/月

无限制

在 MCPize 上获取

MEOK AI Labs 的一部分

这是 MEOK AI Labs 提供的 255+ 个 MCP 服务器之一。请在 meok.ai 或 GitHub 上浏览全部内容。


MEOK AI Labs | meok.ai | nicholas@meok.ai | 英国

Available Tools

8 tools
cancel_subscriptionD

Cancel a Stripe subscription.

Args: subscription_id: Stripe subscription ID (sub_...) at_period_end: If True, cancel at end of billing period (default). If False, cancel immediately. prorate: Whether to prorate the final invoice (default True)

Behavior: This tool is read-only and stateless — it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.

When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.

When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent — calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.

Inputs: subscription_id (required), api_key, prorate, at_period_end.

create_checkout_sessionC

Generate a Stripe Checkout URL for a price.

Args: price_id: Stripe price ID (price_...) success_url: URL to redirect after successful payment cancel_url: URL to redirect if customer cancels mode: Checkout mode — "subscription" or "payment" (one-time) customer_email: Pre-fill the customer's email in checkout

Behavior: This tool generates structured output without modifying external systems. Output is deterministic for identical inputs. No side effects. Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.

When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.

When NOT to use: Not suitable for real-time production decision-making without human review of results.

Inputs: price_id (required), mode, api_key, cancel_url, +2 more.

create_customerD

Create a new Stripe customer.

Args: name: Customer full name email: Customer email address metadata: Optional key-value metadata (e.g. {"plan": "pro", "source": "website"})

Behavior: This tool generates structured output without modifying external systems. Output is deterministic for identical inputs. No side effects. Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.

When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.

When NOT to use: Not suitable for real-time production decision-making without human review of results.

Inputs: name (required), email (required), api_key, metadata.

create_subscriptionD

Subscribe a customer to a price/plan.

Args: customer_id: Stripe customer ID (cus_...) price_id: Stripe price ID (price_...) trial_days: Optional trial period in days

Behavior: This tool generates structured output without modifying external systems. Output is deterministic for identical inputs. No side effects. Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.

When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.

When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent — calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.

Inputs: price_id (required), customer_id (required), api_key, trial_days.

get_balanceC

Get current Stripe account balance and recent payouts.

Returns available and pending balances plus the last 5 payouts.

Behavior: This tool is read-only and stateless — it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.

When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.

When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent — calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.

Inputs: api_key.

get_revenue_metricsB

Calculate MRR, ARR, churn rate, and LTV from live Stripe data.

Fetches active/canceled subscriptions and computes:

  • MRR (Monthly Recurring Revenue)

  • ARR (Annual Recurring Revenue)

  • Churn rate (cancellations in last 30 days / total active)

  • Average revenue per customer

  • Estimated LTV

Behavior: This tool is read-only and stateless — it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.

When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.

When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent — calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.

Inputs: api_key.

list_invoicesA

List recent invoices for a customer.

Args: customer_id: Stripe customer ID (cus_...) limit: Number of invoices to return (default 10, max 100) status: Filter by status: draft, open, paid, uncollectible, void (optional)

Behavior: This tool generates structured output without modifying external systems. Output is deterministic for identical inputs. No side effects. Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.

When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.

When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent — calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.

Inputs: customer_id (required), limit, status, api_key.

search_customersC

Search Stripe customers by email or name.

Args: query: Email address or name to search for limit: Max results to return (default 10, max 100)

Behavior: This tool is read-only and stateless — it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.

When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.

When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent — calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.

Inputs: query (required), limit, api_key.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.8/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: customers, subscriptions, invoices, checkout, metrics, and balance. Even the two analytics tools (get_revenue_metrics and get_balance) are clearly separable by their focus.

    Naming Consistency5/5

    All tools follow a consistent verb_noun snake_case pattern: create_customer, search_customers, create_subscription, cancel_subscription, list_invoices, create_checkout_session, get_revenue_metrics, get_balance. No mixed conventions or vague verbs.

    Tool Count5/5

    Eight tools is well-scoped for a billing-oriented server, covering customer management, subscription lifecycle, invoicing, checkout, and financial analytics. Each tool earns its place without redundancy.

    Completeness4/5

    Core billing workflows are present: customer create/search, subscription create/cancel, invoice listing, checkout session creation, and revenue/balance views. Minor gaps include no subscription update, no invoice detail view, and no customer update/delete, but these are workable for the stated billing domain.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers