
Razorpay
Hooks Claude directly into your Razorpay account to query payments, orders, customers, subscriptions, and refunds through natural language. You get read-only access to the full Razorpay API surface: fetch individual transactions, list orders by date range, analyze revenue trends, inspect failed payment reasons, track subscription churn, and pull dashboard summaries. Useful when you need to answer business questions about your payment data without writing scripts or logging into the Razorpay console. Currently read-only, so it won't create charges or issue refunds. Ships with environment variable based auth and works through stdio transport with Claude Desktop.
- GitHub stars
- 1
- tools
- 14
- auth
- Secret needed
- transport
- STDIO
- env vars
- 2
- last updated
- May 21, 2026
Tools
14 toolsPublic tool metadata for what this MCP can expose to an agent.
get_paymentFetch a specific payment by ID
Fetch a specific payment by ID
No parameter schema in public metadata yet.
list_paymentsList payments with filters
List payments with filters
No parameter schema in public metadata yet.
get_payment_analyticsRevenue, success rate, method breakdown
Revenue, success rate, method breakdown
No parameter schema in public metadata yet.
get_orderFetch a specific order by ID
Fetch a specific order by ID
No parameter schema in public metadata yet.
list_ordersList orders with filters
List orders with filters
No parameter schema in public metadata yet.
get_customerFetch a specific customer by ID
Fetch a specific customer by ID
No parameter schema in public metadata yet.
list_customersList customers
List customers
No parameter schema in public metadata yet.
get_subscriptionFetch a specific subscription by ID
Fetch a specific subscription by ID
No parameter schema in public metadata yet.
list_subscriptionsList subscriptions with filters
List subscriptions with filters
No parameter schema in public metadata yet.
get_subscription_analyticsActive count, churn rate, upcoming renewals
Active count, churn rate, upcoming renewals
No parameter schema in public metadata yet.
get_refundFetch a specific refund
Fetch a specific refund
No parameter schema in public metadata yet.
list_refundsList refunds for a payment
List refunds for a payment
No parameter schema in public metadata yet.
get_dashboard_summaryBusiness health check — revenue today/week/month
Business health check — revenue today/week/month
No parameter schema in public metadata yet.
get_failed_payment_analysisFailure reasons, by method and bank
Failure reasons, by method and bank
No parameter schema in public metadata yet.
Sponsors
Configuration
RAZORPAY_KEY_ID*Your Razorpay Key ID from dashboard.razorpay.com/app/keys
RAZORPAY_KEY_SECRET*secretYour Razorpay Key Secret from dashboard.razorpay.com/app/keys
Readme
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 claude_desktop_config.json (usually at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.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):
Details
- Repository
- github.com/indiamcp/razorpay-mcp
- Package
@indiamcp/razorpay-mcp- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active