Bharat MCP
Local MCP server for Indian GST invoices, HSN/SAC lookup, UPI and bank statement analysis
Bharat MCP is an open-source MCP server for finance and payments. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted, macOS
- Runs
- Locally
- What it can do
- Can change data (1 tool)
- Version
- 0.4.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add bharat-mcp -- npx -y @adnansaliyawala/bharat-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"bharat-mcp": {
"command": "npx",
"args": [
"-y",
"@adnansaliyawala/bharat-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"bharat-mcp": {
"command": "npx",
"args": [
"-y",
"@adnansaliyawala/bharat-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"bharat-mcp": {
"command": "npx",
"args": [
"-y",
"@adnansaliyawala/bharat-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
codex mcp add bharat-mcp -- npx -y @adnansaliyawala/bharat-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.bharat-mcp]
command = "npx"
args = ["-y", "@adnansaliyawala/bharat-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"bharat-mcp": {
"command": "npx",
"args": [
"-y",
"@adnansaliyawala/bharat-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.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
Antigravity
Add to ~/.gemini/config/mcp_config.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 (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.json
{ "mcpServers": { "bharat-mcp": { "command": "npx", "args": [ "-y", "@adnansaliyawala/bharat-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "bharat-mcp": { "command": "npx", "args": [ "-y", "@adnansaliyawala/bharat-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "bharat-mcp": { "command": "npx", "args": [ "-y", "@adnansaliyawala/bharat-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "bharat-mcp": { "command": "npx", "args": [ "-y", "@adnansaliyawala/bharat-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
BHARAT_MCP_OUTPUT_DIRFolder where invoice PDFs are saved (default: ~/bharat-mcp/invoices)
About Bharat MCP
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.
Tools this server provides (12)
Taken from the project documentation; the running server may differ.
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_invoiceName suggests: changes
- Generates a GST tax invoice PDF.
- calculate_gst
- Splits tax for line items, intra- or inter-state.
- validate_gstinName suggests: reads
- Checks a GSTIN's format, state code and checksum.
- find_gst_rateName suggests: reads
- Finds the GST rate for goods by HSN code or name.
- search_hsn_sacName suggests: reads
- Searches HSN and SAC codes by description or prefix.
- lookup_hsn_sacName 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_statementName 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_ifscName suggests: reads
- Looks up bank branch details for an IFSC code.
- lookup_pincodeName suggests: reads
- Returns district, state and post offices for a PIN code.
What it does
- 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
Pricing
Open source
Bharat MCP 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.
