Repository avatar
Monitoring
v0.2.0
active

india-api-mcp

io.github.srigenmedia/india-api-mcp

246 Indian public APIs catalog plus live PIN code, IFSC, DIGIPIN and data.gov.in mandi prices.

Documentation

India Public APIs MCP

Free, read-only Streamable HTTP Model Context Protocol (MCP) server operated by SriGenMedia (Bengaluru, India) at https://india-api.srigenmedia.com/mcp.

Government Non-Affiliation & GODL-India Attribution: Independent private MCP server using publicly licensed Open Government Data (data.gov.in, GODL-India) and public APIs (India Post PIN/DIGIPIN, Razorpay IFSC). Not affiliated with, endorsed by, or representing NIC, India Post, UIDAI, RBI, or the Government of India.

Connect

{
  "mcpServers": {
    "india-public-apis": {
      "url": "https://india-api.srigenmedia.com/mcp"
    }
  }
}

246 Indexed APIs by Domain

DomainCount
BFSI27
Governance & Public Services23
Geo-Spatial, Weather & SpaceTech17
Mobility & Logistics17
DPI / India Stack16
Utilities & Telecom15
Open Data & Aggregators14
Statistics & Economy14
Energy & Power13
Fintech Middleware (B2B Aggregators)13
E-Commerce & ONDC12
Education & Skilling12
Healthcare12
Culture, Language & Media11
Judiciary & Legal11
AgriTech10
Aviation9
Total246

Tools & Resources (All Read-Only)

ToolSourceDescription
search_apisOffline JSON (246 APIs)Filter Indian public APIs by keyword, domain, tier, or auth
get_apiOffline JSON (246 APIs)Get metadata for an API ID (e.g. IN-API-0001)
list_taxonomyOffline JSON (246 APIs)Domain -> sub-domain -> API count taxonomy
digipin_encodeLocal MathEncode lat/lon into 10-character India Post DIGIPIN
digipin_decodeLocal MathDecode DIGIPIN back to ~4m cell centre coordinates
pincode_lookupIndia Post (24h cache)Post offices, district, and state for a 6-digit PIN
ifsc_lookupRazorpay IFSC (24h cache)Bank, branch, address, and supported rails
ogd_dataset_querydata.gov.in (6h cache)Query any OGD resource UUID (via signed ap-south-1 relay)
mandi_pricesdata.gov.in (6h cache)Daily Agmarknet mandi commodity prices

MCP Resources: india-apis://taxonomy, india-apis://catalog.

Fair-Use Caps & Edge Caching

  • Per-IP Rate Limit: 30 requests/minute on POST /mcp (IP_RATE_LIMITER).
  • OGD Daily Cap: 500 uncached api.data.gov.in upstream calls/day globally (D1 atomic counter). Offline catalog, DIGIPIN, PIN, IFSC, and edge-cached OGD responses remain available even if the daily OGD cap is reached.
  • Edge Cache TTLs: 24h for PIN/IFSC; 6h for OGD queries.
  • Local Python Reference: Kept in python/ for stdio/local testing (python/server.py, python/bridge_stdio.py).

Production Quota, Custom India DPI MCPs & SriGenMedia Pillars

Need higher limits (>30 rpm / >500/day OGD upstream), private ap-south-1 VPC deployment, or custom production MCPs for Partner-tier Indian DPIs (Aadhaar, Account Aggregator, GSTN, ULIP, ABDM, ULI)?