# Bharat MCP

> Bharat MCP is an open-source MCP server for finance and payments. Local MCP server for Indian GST invoices, HSN/SAC lookup, UPI and bank statement analysis. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, macOS, Windows, Linux
- **Repository:** https://github.com/nansa1/bharat-mcp
- **MCP Registry name:** io.github.nansa1/bharat-mcp
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-23

## About

Bharat MCP packs India-specific paperwork into twelve tools that run on your own machine. Describe a sale in plain words and the assistant works out whether it is intra- or inter-state, applies CGST, SGST or IGST, and writes a tax invoice PDF with HSN or SAC codes, place of supply and the amount in words in lakh and crore.

GST rates come from rate notifications as published in the Gazette of India, with amendments applied. The README says CGST and IGST notifications are parsed independently and must agree. One HSN code can carry several entries, and the tool shows each rather than guessing. Services rates are not covered yet. HSN and SAC search uses the GST portal's list of 21,928 HSN and 681 SAC codes, bundled for offline use.

Bank statements in PDF or CSV are categorised, reconciled against running balances and can be converted to CSV. Only IFSC and PIN code lookups use the network.

## Features

- **GST invoice PDFs:** Builds a tax invoice with the required fields and tax split.
- **GSTIN validation:** Checks format, state code and checksum, and decodes PAN and entity type.
- **HSN and SAC search:** Finds codes by everyday description or prefix, offline.
- **Gazette-based GST rates:** Shows every matching rate entry with its notification.
- **Bank statement analysis:** Categorises spend and recurring payments from PDF or CSV.
- **UPI narration parsing:** Decodes payee, app and direction from bank narrations.

## Good for

- Create a freelance GST invoice
- Look up the HSN code for a product
- See where money went in a month
- Convert a bank PDF to CSV
- Find a branch from an IFSC

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add bharat-mcp -- npx -y @adnansaliyawala/bharat-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "bharat-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@adnansaliyawala/bharat-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "bharat-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@adnansaliyawala/bharat-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "bharat-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@adnansaliyawala/bharat-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "bharat-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@adnansaliyawala/bharat-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add bharat-mcp -- npx -y @adnansaliyawala/bharat-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.bharat-mcp]
command = "npx"
args = ["-y", "@adnansaliyawala/bharat-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "bharat-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@adnansaliyawala/bharat-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user bharat-mcp npx -- -y @adnansaliyawala/bharat-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "bharat-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@adnansaliyawala/bharat-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "bharat-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@adnansaliyawala/bharat-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "bharat-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@adnansaliyawala/bharat-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "bharat-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@adnansaliyawala/bharat-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "bharat-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@adnansaliyawala/bharat-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "bharat-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@adnansaliyawala/bharat-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "bharat-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@adnansaliyawala/bharat-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "bharat-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@adnansaliyawala/bharat-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 12 tools changes data; 4 names don't say. From the server's own tool labels and tool names; not verified by us.

- `create_gst_invoice` (name suggests: changes): Generates a GST tax invoice PDF.
- `calculate_gst`: Splits tax for line items, intra- or inter-state.
- `validate_gstin` (name suggests: reads): Checks a GSTIN's format, state code and checksum.
- `find_gst_rate` (name suggests: reads): Finds the GST rate for goods by HSN code or name.
- `search_hsn_sac` (name suggests: reads): Searches HSN and SAC codes by description or prefix.
- `lookup_hsn_sac` (name suggests: reads): Checks whether a code exists and suggests the nearest valid one.
- `amount_in_words`: Writes a rupee amount in words using lakh and crore.
- `analyze_bank_statement` (name suggests: reads): Analyses spend and payees from a PDF or CSV statement.
- `convert_bank_statement`: Converts a PDF statement to CSV.
- `parse_upi_narration`: Decodes UPI narrations into payee, VPA, app and direction.
- `lookup_ifsc` (name suggests: reads): Looks up bank branch details for an IFSC code.
- `lookup_pincode` (name suggests: reads): Returns district, state and post offices for a PIN code.

## FAQ

### Does my bank data leave my computer?

Statement parsing, GST maths and invoices run locally. Only IFSC and PIN lookups use the network, sending just the code.

### How do I install Bharat MCP?

Run npx -y @adnansaliyawala/bharat-mcp; it needs Node.js 22.13 or later.

### Can Bharat MCP read scanned statements?

No, scanned images cannot be parsed. The assistant can read them and pass rows in.

### Does Bharat MCP cover GST rates for services?

Not yet. Rates for SAC codes are not covered.

### Is Bharat MCP free?

Yes. Bharat MCP is open source, so you can use and self-host it for free.

### How do I add Bharat MCP to Claude Code?

Run this command in your terminal: claude mcp add bharat-mcp -- npx -y @adnansaliyawala/bharat-mcp

### What are the best alternatives to Bharat MCP?

The closest alternatives to Bharat MCP are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, NostrPulse, Australian Economic Data (ABS, RBA & APRA) and Crypto Perp Pulse & Outage Radar (x402).

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [NostrPulse](https://ai-powered.com/mcp/nostrpulse): NostrPulse is an open-source MCP server for finance and payments.
- [Australian Economic Data (ABS, RBA & APRA)](https://ai-powered.com/mcp/australian-economic-data-abs-rba-and-apra): Australian Economic Data (ABS, RBA & APRA) is an open-source MCP server for analytics and data.
- [Crypto Perp Pulse & Outage Radar (x402)](https://ai-powered.com/mcp/crypto-perp-pulse-and-outage-radar-x402): Crypto Perp Pulse & Outage Radar (x402) is a paid MCP server for finance and payments.
- [LATAM Business, Fiscal & FX (x402)](https://ai-powered.com/mcp/latam-business-fiscal-and-fx-x402): LATAM Business, Fiscal & FX (x402) is a paid MCP server for finance and payments.
- [Base & EVM DeFi Pre-Trade Shield (x402)](https://ai-powered.com/mcp/base-and-evm-defi-pre-trade-shield-x402): Base & EVM DeFi Pre-Trade Shield (x402) is a paid MCP server for finance and payments.
- [x402 Micropayments MCP](https://ai-powered.com/mcp/x402-micropayments-mcp): x402 Micropayments MCP is a paid MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/bharat-mcp
