Open-source MCP server for TallyPrimeMIT License

Talk to your Tally using AI.

Query your accounts in plain English, drop in bank statements or invoices, and let AI auto-draft balanced vouchers in seconds. Nothing reaches Tally until you review and approve it — 100% private, on your own PC.

interactive prompt (live simulation)
You:
Result:2,496 of 2,500 transactions auto-matched in 6s · 4 flagged for your 1-click review (2 unmatched NEFTs, 2 GST round-off diffs of ₹18.00)
Example output. TallyMCP auto-drafts entries safely — you review and approve every write before it posts.
⚡ Deterministic Rust Engine
1.4 MB static binary · starts in < 15 ms · ~21 MB RAM. Formats Day Book and financial reports into deterministic structured JSON.
🛡️ Human Confirms Every Write
AI drafts vouchers, TallyMCP verifies double-entry balance (Debits + Credits == 0) and rejects duplicates. You click Approve on a local loopback page.
🔒 Same PC or Shared Wi-Fi / LAN
Run directly on the PC/laptop where Tally is installed, or query it from any other laptop connected to the same Wi-Fi or office network. 100% private with zero telemetry.
🩺 Built-in Doctor & Auto-Setup
tally-mcp doctor validates port 9000, company reachability, and PATH in seconds. tally-mcp setup auto-configures Claude Desktop, Cursor, and Windsurf.

The same month-end

Two ways to close the books.

Drag to compare. Same sales register, same GST, same reconciliation — three hours of keying, or one sentence.

With TallyMCP · 4 min

You ask once.

00:04:11
  • ✓1,000 sales vouchers posted from Excel with automatic GST split
  • ✓Reconciled against the bank statement — every break flagged automatically
  • ✓Day book & trial balance exported directly to Excel
“post june-sales.xlsx, then reconcile and export the day book”

Watch it work

A real conversation with your books.

No menus, no nested screens, no shortcuts to memorize. You ask; Tally responds.

TallyMCP Connected · Active Company

Document Ingestion · The paperwork, gone

Drop in a PDF. Get a voucher.

Bank statements from any bank, invoices, scanned images, even Bills of Entry — TallyMCP reads them, reconciles them, and posts straight into Tally. No re-keying.

📄

1. Drop the PDF

Statement, invoice, scanned document, or BOE — digital file or photographed invoice.

🔍

2. AI reads it

Columns, line items, GST split, dates & totals — parsed deterministically, scans OCR'd.

⚖️

3. Reconciles

Matches against your existing books and flags anything that doesn't tie or balance.

✅

4. Posts to Tally

A ready voucher — you confirm with a single human click, and it lands. Fully audited.

💬 “Read these 40 purchase invoices and post the ones that match my purchase orders.”

Proven, not promised

Real numbers from real books.

12MCP tools — read, draft vouchers, day book & reports
< 120 mscold start — native compiled Rust with ~24 MB RAM
PDF → voucherinvoices & documents → balanced voucher drafts
100% Localruns strictly on loopback (127.0.0.1:9000), zero telemetry

Download TallyMCP

Ultra-lightweight native Rust binary. Zero runtime dependencies, zero telemetry.

Binary Size: 1.4 MB
Installer Size: 1.4 MB
Cold Start: < 15 ms
Idle RAM: ~21 MB

Security Invariants

  • ✓Read-Only Safe Defaults: Ledger balances, trial balance, and day book queries are non-mutating.
  • ✓Human-in-the-Loop Writes: AI models cannot commit changes directly; drafts require browser approval on loopback.
  • ✓Zero Telemetry: Native Rust binary with zero analytics, phone-home, or background tracking.
  • ✓Deterministic Permalinks: Downloads are cryptographically hashed and pinned to immutable versions.
Platform: x64 Windows 10 (19041+) / Windows 11

System Architecture & Data-Flow Matrix

Transparent data pathways. No hidden proxies, no unexpected external transmission.

Deterministic Data Isolation & Architecture

Process stdio connects your AI client directly to the native Windows server. Accounting mutations strictly halt for loopback browser approval.

AI Client / MCP HostClaude · Antigravity · Cursorstdio (JSON-RPC)tally-mcp.exeNative Rust ExecutableZero Telemetry · Local LoopbackXML / HTTP127.0.0.1:9000TallyPrime InstanceLocal Accounting DataHuman Approver (Browser Click)Loopback UI · 127.0.0.1:<port>Explicit Approval
WorkflowNetwork TransmissionRetention & Privacy Guarantee
Core Tally Queries (Ledgers, Day Book)Process stdio → Host AI Client (Claude, Antigravity, Cursor)Query results are processed by your chosen AI model provider in your chat context. TallyMCP stores nothing externally.
Voucher Draft WritesLocal files → Loopback UIKept strictly on local disk (%LOCALAPPDATA%\TallyMCP\drafts\). AI models cannot post writes to Tally directly.
100% Offline Profile127.0.0.1 loopback only (Local Ollama / LM Studio)Zero bytes leave your computer. Completely air-gapped extraction and execution.
TallyMCP Desktop AppNone (Loopback only)Zero telemetry, zero analytics, zero automated crash reporting.

Client Configuration Generator

Generates properly escaped paths for Claude Desktop, Cursor, Antigravity, or Windsurf on Windows.

1

Instant Self-Served Setup via CLI Wizard

The installer adds tally-mcp to your PATH. Open PowerShell and run this single command to automatically configure Claude Desktop, Cursor, and Windsurf without editing JSON manually:

tally-mcp setuptally-mcp doctor

💡 tally-mcp doctor validates port 9000 reachability, active company, and client configuration health.

Manual Client Configuration

Select your AI client. Claude Desktop (Local stdio) is the officially recommended, 100% private configuration.

In PowerShell: $env:USERNAME
Leave blank for local loopback
Default Tally XML port is 9000
Config file: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "tally": {
      "command": "C:\\\\Users\\\\<YOUR_WINDOWS_USERNAME>\\\\AppData\\\\Local\\\\Programs\\\\TallyMCP\\\\tally-mcp.exe",
      "args": [
        "serve"
      ]
    }
  }
}
💡 Direct path in Claude Desktop: Click File ▸ Settings ▸ Developer ▸ Edit Config.
💡 Existing settings? If your file already contains keys like "preferences", add a comma after the preceding key, and insert the "mcpServers" block right inside the outer braces.

Frequently Asked Questions

Straight answers on data safety, permissions, and operations.

Is TallyMCP really 100% free and open source?▼
Yes. TallyMCP is fully open source under the permissive MIT license. Anyone can inspect the code, compile it from source, use it for personal or commercial accounting, and run it without any monthly subscription fees.
Can an AI model alter or delete my accounting records?▼
No. Queries are strictly read-only. Voucher draft writes are stored locally in %LOCALAPPDATA%\TallyMCP\drafts\ and require manual out-of-band human confirmation in your browser before anything is submitted to Tally.
Do I need administrator privileges?▼
No. TallyMCP installs per-user directly into %LOCALAPPDATA%\Programs\TallyMCP\, requiring no UAC elevation or administrator rights.
Does my accounting data leave my PC?▼
No. TallyMCP communicates with TallyPrime strictly over local loopback (127.0.0.1:9000). There are no cloud relays, external backend servers, or telemetry tracking.