MCP.Market

Razorpay MCP server

by indiamcp·io.github.indiamcp/razorpay·v0.1.0·1 stars

MCP server for Razorpay API.

B71/100grade B
What users say
No reviews yet
Be the first
Safety scan
B71/100

full report

Adoption
New

1 stars25 downloads/wk

Reviews

Write one

Nobody has reviewed Razorpay yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Razorpay tools (14, 2 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • get_customer

    Fetch details of a specific customer by ID

  • get_dashboard_summary

    Get a high-level business summary \u2014 revenue today, this week, this month, success rate, top payment methods. Perfect for a quick business health check.

  • get_failed_payment_analysis

    Analyze why payments are failing \u2014 breakdown by error code, bank, payment method

  • get_orderwrite action

    Fetch details of a specific order by ID

  • get_payment

    Fetch details of a specific payment by ID

  • get_payment_analytics

    Analyze payments for a date range \u2014 total revenue, success rate, failure breakdown, payment method distribution

  • get_refundwrite action

    Fetch details of a specific refund

  • get_subscription

    Fetch details of a specific subscription

  • get_subscription_analytics

    Analyze subscriptions \u2014 active count, churn rate, MRR, upcoming renewals

  • list_customers

    List customers with optional filters

  • list_orders

    List orders with optional filters

  • list_payments

    List payments with optional filters

  • list_refunds

    List refunds for a payment

  • list_subscriptions

    List subscriptions with optional filters

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan3 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 129 days ago8/15
  • Maintainer identityregistry namespace matches repository owner7/10
Overall 71/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Razorpay compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
71/100
higher than 36% of 48,255 servers
Tools
14
the typical server has 7
Tools that change things
14%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
1
more than 65% of 28,688 servers
Downloads a week
25
more than 11% of 12,191 servers with a package

What its tools let an agent do: 12 read · 2 change

Install Razorpay in Claude Code, Cursor or VS Code

Runs npx -y @indiamcp/razorpay-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add razorpay -- npx -y @indiamcp/razorpay-mcp
Add to Cursor

What the publisher says

From the Razorpay repository's README, as published. We do not edit it. Read it on GitHub

razorpay-mcp

An MCP (Model Context Protocol) server that connects AI assistants like Claude directly to your Razorpay account. Once configured, you can ask your AI to fetch payments, analyze revenue trends, inspect failed transactions, monitor subscriptions, and get a real-time business dashboard — all in natural language, with no code required.

Quick Start

# Clone
git clone https://github.com/indiamcp/razorpay-mcp

# Install
cd razorpay-mcp
npm install

# Configure
cp .env.example .env
# Add your Razorpay API keys to .env

# Build
npm run build

# Run
npm start

Claude Desktop Setup

Add this to your claudedesktopconfig.json (usually at ~/Library/Application Support/Claude/claudedesktopconfig.json on macOS or %APPDATA%\Claude\claudedesktopconfig.json on Windows):

{
  "mcpServers": {
    "razorpay": {
      "command": "node",
      "args": ["/path/to/razorpay-mcp/dist/index.js"],
      "env": {
        "RAZORPAY_KEY_ID": "rzp_test_xxxxxxxxxxxx",
        "RAZORPAY_KEY_SECRET": "your_secret_here"
      }
    }
  }
}

Or use npx (once published):

{
  "mcpServers": {
    "razorpay": {
      "command": "npx",
      "args": ["-y", "@indiamcp/razorpay-mcp"],
      "env": {
        "RAZORPAY_KEY_ID": "rzp_test_xxxxxxxxxxxx",
        "RAZORPAY_KEY_SECRET": "your_secret_here"
      }
    }
  }
}

Available Tools

Example Prompts

Once connected, try asking Claude:

  • "Show me all failed payments in the last 7 days and why they failed"
  • "What's my total revenue this month?"
  • "List all active subscriptions"
  • "Which payment method do my customers prefer?"
  • "Show me customers who signed up this week"
  • "What's my subscription churn rate this month?"
  • "Find payment pay_xxxxx"
  • "How many refunds are pending?"
  • "Give me a dashboard summary of my business today"
  • "Analyze payment failures for the last 30 days"

Security Note

  • Environment variables only — API keys are read from env vars and never hardcoded or logged
  • Read-only in v1 — this server only fetches data; it cannot create payments, issue refunds, or modify any records
  • No data storage — payment data is never persisted or cached by this server
  • Use test keys during development — Razorpay test keys (rzptest) are safe and make no real charges

Development

# Run in dev mode (no build needed)
npm run dev

# Type check
npm run lint

# Run tests
npm test

Part of IndiaMCP

This server is part of IndiaMCP — a suite of open-source MCP servers for the Indian API stack.

github.com/indiamcp

Nothing above is checked by us. What we check is on the safety report.

Razorpay: common questions

Is Razorpay MCP server safe?
Mostly: it is graded B (71/100). Read the Razorpay safety report
How do I install Razorpay?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Razorpay need an API key?
Yes. The registry entry asks for RAZORPAY_KEY_SECRET.
Is Razorpay maintained?
The last commit was 167 days ago (2026-05-21). The latest release is v0.1.0.
How does Razorpay compare with other MCP servers?
safety score 71/100 (higher than 36% of 48,255 servers); tools 14 (the typical server has 7); tools that change things 14% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.