# India API

Gives your agent 44 APIs for Indian data: pincodes, IFSC, GSTIN, holidays, GST invoice PDFs, OCR and translation. No key, no sign-up.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 9
- Author: dharunashokkumar
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dharunashokkumar/api.dharun.dev
- Updated: 2026-10-18
- HTML: https://affpapa.org/en/nevibecode/mcp/india-api

## What it does

Every endpoint answers with the same JSON shape, so parsing stays simple. The server covers pincodes and post offices, banks by IFSC, RTO codes, bank and stock market holidays, working days and T+1 settlement dates, HSN and SAC codes, railway stations and airports, phone number checks, constituencies, panchang, sunrise and sunset, satellite passes.

There is practical stuff too: QR codes and UPI payment links, barcode reading from a photo, a GST tax invoice PDF built from JSON, OCR for Indian languages, translation between English and 22 Indian languages, transliteration across nine scripts, embeddings and a reranker for semantic search. Network checks are included as well — DNS, whois, TLS, IPv6, traceroute and an HTTP probe from India.

No API key, open CORS. In `Claude Code` it installs with a single command over HTTP transport. One catch: much of the data is India-specific, so on a project outside the country a good share of the endpoints will sit unused.

## Requirements
- Remote server: `https://api.dharun.dev/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http india-api https://api.dharun.dev/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add india-api --url https://api.dharun.dev/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "india-api": {
            "url": "https://api.dharun.dev/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "india-api": {
            "type": "http",
            "url": "https://api.dharun.dev/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http india-api https://api.dharun.dev/mcp
```

## When to use it
- look up a pincode and nearby post offices
- pull bank branch details from an IFSC code
- generate a GST invoice PDF from order data
- translate text from English into an Indian language
- read text off a photo in an Indian script

## Example prompts
- Find the post offices for pincode 637001
- Make a UPI payment QR code for 250 rupees
- Build a GST invoice PDF from this order data

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16717
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40409
- [OpenWork MCP Gateway](https://affpapa.org/en/nevibecode/mcp/openwork-mcp-gateway.md) — MCP server · ★ 24242
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18727
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9366
- [basebalance.cloud — x402 RPC & MCP gateway](https://affpapa.org/en/nevibecode/mcp/basebalancecloud-x402-rpc-mcp-gateway.md) — MCP server · ★ 7506

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
