🇮🇳 India MCP — Model Context Protocol Servers for Indian APIs
Let AI agents operate natively in the Indian market
India MCP provides Model Context Protocol (MCP) servers that wrap popular Indian government and enterprise APIs. Enable AI assistants like Claude Desktop, Cursor, and others to interact natively with Indian digital infrastructure.
Available Servers
| Server | Registry | Tools | Description |
|---|---|---|---|
| GST | @samarth-23-eng/india-mcp-gst | 5 | Validate GSTINs, search HSN/SAC codes, calculate GST, get filing deadlines |
| Railways | @samarth-23-eng/india-mcp-railways | 7 | Search trains, PNR status, schedules, live status, fare enquiry |
| RTO | @samarth-23-eng/india-mcp-rto | 6 | Decode vehicle registration, road tax calculator, RTO info |
| Delhivery | @samarth-23-eng/india-mcp-delhivery | 6 | Track shipments, shipping rates, pincode serviceability |
| DigiLocker | @samarth-23-eng/india-mcp-digilocker | 5 | Access government documents, verify Aadhaar linking |
Installation
Install all servers:
npm install @samarth-23-eng/india-mcp
Or install individual servers:
npm install @samarth-23-eng/india-mcp-gst
npm install @samarth-23-eng/india-mcp-railways
npm install @samarth-23-eng/india-mcp-rto
Quick Start
Claude Desktop Configuration
Add to your Claude Desktop config.json:
{
"mcpServers": {
"india-gst": {
"command": "npx",
"args": ["@samarth-23-eng/india-mcp-gst"],
"env": {}
},
"india-railways": {
"command": "npx",
"args": ["@samarth-23-eng/india-mcp-railways"],
"env": {}
},
"india-rto": {
"command": "npx",
"args": ["@samarth-23-eng/india-mcp-rto"],
"env": {}
},
"india-delhivery": {
"command": "npx",
"args": ["@samarth-23-eng/india-mcp-delhivery"],
"env": {
"DELHIVERY_TOKEN": "your_token_here"
}
},
"india-digilocker": {
"command": "npx",
"args": ["@samarth-23-eng/india-mcp-digilocker"],
"env": {
"DIGILOCKER_CLIENT_ID": "your_client_id",
"DIGILOCKER_CLIENT_SECRET": "your_client_secret"
}
}
}
}
Run Locally
# GST Server (no auth required)
npm run gst
# Railways Server (no auth required)
npm run railways
# RTO Server (no auth required)
npm run rto
# Delhivery Server (requires token)
DELHIVERY_TOKEN=your_token npm run delhivery
# DigiLocker Server (requires OAuth credentials)
DIGILOCKER_CLIENT_ID=xxx DIGILOCKER_CLIENT_SECRET=xxx npm run digilocker
Environment Variables
| Variable | Server | Required | Description |
|---|---|---|---|
| None | GST | No | Uses public GST APIs — no auth needed |
DELHIVERY_TOKEN | Delhivery | Yes | Get from Delhivery Dashboard |
DIGILOCKER_CLIENT_ID | DigiLocker | Yes | Get from DigiLocker Developer Portal |
DIGILOCKER_CLIENT_SECRET | DigiLocker | Yes | Get from DigiLocker Developer Portal |
Why India MCP?
India has unique digital infrastructure that global AI assistants cannot natively access:
- GST System — Every business in India must comply with GST. AI agents need to look up HSN codes, validate GSTINs, and calculate taxes.
- Railways — Indian Railways handles 8,000+ trains daily. AI agents need train search, PNR status, and live tracking.
- RTO — Vehicle registration, road tax, and challan checking are essential for automotive AI use cases.
- Logistics — Delhivery, Shiprocket handle most last-mile delivery in India.
- DigiLocker — Government documents (Aadhaar, PAN, driving license, vehicle registration) are stored here.
This project fills the gap in AI agent coverage for the world's largest market by population.
Roadmap
Looking to add more servers. Contributions welcome:
- India Post — Track speed post shipments
- EPFO/PF — Provident fund information
- IndiaMART — B2B lead fetching
- MakeMyTrip/IRCTC — Travel booking
- Razorpay — Payment gateway integration
See CONTRIBUTING.md for adding new servers.
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for detailed guidelines on:
- Adding new MCP servers
- Code style and conventions
- PR submission checklist
License
MIT License — see LICENSE for details.
Links
- Model Context Protocol Documentation
- GST Public Portal
- Delhivery API Docs
- DigiLocker Developer Portal
- GitHub Issues