100% Open Source

Talk to your TallyPrime books like you talk to your accountant.

The open-source tally mcp server claude and AI integration that lets Claude Desktop, ChatGPT and other assistants read your TallyPrime data and draft vouchers. It runs locally on your PC, and a human approves every write.

Connecting to Live Gateway (127.0.0.1:9000)...

Rust Core Engine< 15ms
1.4 MB standalone binary with ~21 MB RAM. Formats Day Book and reports into deterministic JSON.
52 tests passing · Zero runtime deps
Two-Phase Commit/approve
AI drafts vouchers; approval links route directly to an interactive review modal displaying Dr/Cr allocation and currency totals.
Cryptographic HMAC approval gate
Dynamic Safety ModesConfigurable
Switch write modes between Approve (human gate), Auto under limit, or Off (read-only) with 1 click in UI.
Persisted to config.toml
tallymcp.pro & DoctorStandard
Standardized identifier across Claude, Cursor, Windsurf. tally-mcp doctor auto-discovers configs and validates port 9000.
5-point automated preflight

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”

Target Audiences & Workflows

Built for accounting precision and developer safety.

Whether you audit books for 40 clients or build enterprise automation on private accounting servers, TallyMCP fits your security model.

Chartered Accountants & Practitioners

Audit & Compliance

Audit client companies in minutes instead of days. Query Trial Balances, filter Day Book transactions, and check debtor aging without navigating 15 menus.

Typical Workflows:
  • •Natural language Day Book spot audits for high-value vouchers
  • •Instant Sundry Debtors aging analysis (> 90 days)
  • •Bank statement Excel reconciliation with ledger suggestions
Config: Windows MSI + Claude Desktop with loopback XMLDocs

SME Finance & Accounting Teams

Operations

Eliminate repetitive data entry. Drop invoices, transport bills, and bank statements directly into Claude or Cursor to auto-stage balanced voucher drafts.

Typical Workflows:
  • •Bulk purchase invoice ingestion into staged drafts
  • •Review debit/credit balances in interactive /approve modal
  • •Auto-under-limit mode for recurring micro-payments (e.g. < ₹5,000)
Config: Multi-user LAN setup connecting to Tally server via --hostDocs

AI Developers & Internal Tools Engineers

Automation

Build custom accounting agents, ERP sync pipelines, and automated reporting bots using standard Model Context Protocol (MCP) primitives.

Typical Workflows:
  • •12 deterministic JSON tools callable via stdio or HTTP
  • •Connect Cursor, Windsurf, or custom Python / LangChain agents
  • •Cryptographic HMAC hashing on voucher drafts with rollback safety
Config: Native standalone .exe / Linux binary + /llms.txt specsDocs

On-Premises & High-Privacy Enterprises

Zero Relay

Strict compliance environments where financial data cannot route through third-party cloud brokers. TallyMCP works 100% offline with local open-weights LLMs.

Typical Workflows:
  • •Zero telemetry, zero external network sockets, loopback only
  • •Local model execution via Ollama (Llama 3, DeepSeek) or LM Studio
  • •Permanent audit trail preserved in %LOCALAPPDATA%\TallyMCP\
Config: On-premises PC + Ollama local modelDocs

Two-Phase Commit · Safety by Design

How AI drafts vouchers. You keep full control.

AI models never write directly to Tally. Dedicated /approve links open an interactive “See Details” modal with complete ledger breakdowns, balance verification, and 1-click confirmation.

Two-Phase Commit·Interactive Live Simulation

How AI Interacts with Tally: Two-Phase Human Approval

AI queries masters and drafts balanced double-entry vouchers. Nothing touches TallyPrime until you click the dedicated /approve link to review and confirm in the interactive inspection modal.

Claude Desktop · tallymcp.pro
stdio stream
You
“Draft a payment of ₹50,000 to Apex Logistics for freight from our HDFC bank account.”
Claude (AI Agent)

I verified your active company Acme Trading Pvt Ltd, validated debit/credit balance, and staged the payment draft locally:

Voucher Type:Payment
Total Amount:₹50,000.00
Double-Entry:Balanced (Dr: ₹50k | Cr: ₹50k)
http://127.0.0.1:9190/approve?draft_id=d_e3b0c442&hash=8f4e2b...
127.0.0.1:9190/approve?draft_id=d_e3b0c442
Safety Mode:Human Approval (Active)

Voucher Review: Payment Draft

d_e3b0c442

Target Company: Acme Trading Pvt Ltd · Date: 2026-10-18

Pending Approval
Double-Entry Ledger BreakdownTotal: ₹50,000.00 (getDraftTotalAmount)
Account / LedgerCategoryDebit (Dr)Credit (Cr)
Apex LogisticsSundry Creditor₹50,000.00—
Bank Account - HDFCBank Accounts—₹50,000.00
Verified Balanced: Debits == Credits (Diff: ₹0.00)₹50,000.00₹50,000.00
Narration

Freight payment for Bill #OCT-9021. Staged via Claude Desktop tallymcp.pro.

SHA-256 HMAC Content Hash

8f4e2b07d4c844a2b97c1e7a0921...

Tamper-proof signature verified against local secret
Safety Mode: approve · Writes require confirmation
Zero Unwanted Writes

AI can never post invoices or payments without explicit human authorization. Every draft generates an HMAC link and waits on your click.

Balanced Double-Entry Audit

The inspection modal gives you an instantaneous ledger balance check. Total amounts are dynamically calculated with zero formatting errors.

TallyPrime 7.2 Native Compatibility

Fully verified against TallyPrime Release 7.2, 6.x, and 5.x with 43 automated unit & integration tests passing in CI.

Automated Paperwork Pipeline

Drop in a PDF or scan. Get an audited voucher.

Bank statements from any Indian bank, vendor tax invoices, scanned receipts, or Bills of Entry — parsed deterministically, reconciled with masters, and staged for review.

STEP 01

Drop Document

Bank statements (PDF/CSV), supplier invoices, scanned bills, or BOEs.

PDF · CSV · XLSX · Scans
STEP 02

Extract Schema

Parsed into structured fields: line items, GSTIN, HSN, CGST/SGST/IGST tax breakdowns, and dates.

Deterministic OCR / Parsing
STEP 03

Reconcile Masters

Matches party ledgers, tax rate ledgers, and items against your open company in TallyPrime.

Cross-Checks Port 9000
STEP 04

Stage & Review

Balanced double-entry draft staged locally. You confirm via browser modal before anything writes.

HMAC Signed · Full Audit Log
💬 “Read these 40 purchase invoices and post the ones that match my purchase orders.”Zero Blind Writes

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
Detected OS:Windows (x64)
Claude Desktop Extension

One-click installer extension for Claude Desktop

Direct bundle (.mcpb) for effortless installation inside Claude Desktop without editing manual JSON files.

Download tally-mcp-v1.0.1.mcpb
Claude Desktop Installation Guide

Desktop version of Claude AI supports loading of local MCP server. Ensure you have Pro / Team / Max / Enterprise subscription of Claude, which supports higher limit compared to Free. MCP makes multiple calls to Tally for validation and inference, which might exhaust free limits quickly. Download Claude Desktop from following link: claude.ai/download

One-click installation (via Extension)
  1. Go to menu > File > Settings
  2. Extensions > Advance Settings
  3. Click on install extension button
  4. Browse the extension file (with file extension mcpb, e.g. tally-mcp-1.0.1.mcpb) downloaded from our releases
  5. A dialog window will appear asking “Do you want to install Tally Prime?” Click Install button, which would install the Tally MCP Server
Verify once configured by checking it on connectors

Open any new conversation in Claude Desktop. Click on the + attachment icon > Connectors (or navigate to Settings > Connectors) to verify that tallymcp.pro (Tally Prime) is displayed with an active green status toggle and all accounting tools enabled.

Security Invariants & Guarantees

Audit Verified
  • 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 produce dedicated loopback /approve links.
  • Dynamic Safety Controls: Switch safety policy between Approve, Auto under limit, or Off directly in the UI.
  • Zero Telemetry: Native Rust binary with zero analytics, phone-home, or background tracking.
  • TallyPrime 7.2 Verified: Official compatibility with TallyPrime Release 7.2 (Latest), 6.x, and 5.x.
Platforms: Windows 10/11 · macOS · LinuxSHA-256 Validated
What's New in v1.0.1

Release v1.0.1 Highlights

Full GitHub Release Notes
Safety & Audit

Dedicated /approve Route & 'See Details' Modal

Voucher writes staged locally with SHA-256 HMAC integrity. Interactive out-of-band modal verifies balanced Debits & Credits before posting.

Verified in v1.0.1
Config

Dynamic Runtime Safety Modes

Switch seamlessly between 'approve' (human confirmation), 'auto_under_limit' (auto-post below ₹ threshold), or 'off' (read-only queries).

Verified in v1.0.1
Reliability

Deterministic Empty-Report Guards

Catches empty XML envelopes and returns structured guidance to your AI agent instead of blank payloads or hallucinated responses.

Verified in v1.0.1
Certified

TallyPrime Release 7.2 Compatibility

Full out-of-the-box support for TallyPrime Release 7.2 (Latest Release), 6.x, 5.x, 4.x, and 3.x+ over standard port 9000.

Verified in v1.0.1

System Architecture & Data-Flow Matrix

Transparent data pathways under standardized identifier tallymcp.pro. No hidden proxies, no external relays.

Zero-Trust Local Boundary

Deterministic Data Isolation & Architecture

AI clients connect via local stdio. Mutations strictly require local browser sign-off at 127.0.0.1:9190/approve.

Loopback Only·No Cloud Relay
Host AI Clientstdio

Claude · Cursor · Windsurf

Dispatches Model Context Protocol calls via standard input/output.

JSON-RPC 2.0→
TallyMCP EngineRust Core

tally-mcp (v1.0.1)

Parses requests, enforces HMAC token signing, converts TDL/XML to deterministic JSON.

Cold Start < 85ms127.0.0.1:9000
Approval Gate/approve

Interactive Review Modal

Dr/Cr balance check, ledger allocation inspect & 1-click cryptographic confirmation.

Human-in-the-Loop
TallyPrime ServerPort 9000

Release 7.2 (Latest)

Native HTTP/XML connector. Full support for Release 7.2, 6.x, 5.x, 4.x.

Company Data Untouched✓ Verified
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 → Dedicated loopback UI (http://127.0.0.1:9190/approve)Kept strictly on local disk with SHA-256 HMAC hash (%LOCALAPPDATA%\TallyMCP\drafts\). AI models cannot post writes to Tally directly; human confirmation via the interactive modal transitions status from PendingApproval to Approved before committing.
100% Offline Profile127.0.0.1 loopback only (Local Ollama / LM Studio)Tally data is transmitted solely to your configured AI client (Claude Desktop, ChatGPT, or local Ollama) as conversation context. Zero intermediary relay servers, zero telemetry or data harvesting.
TallyMCP Desktop AppNone (Loopback only)Zero telemetry, zero analytics, zero automated crash reporting.
Fact-Checked Architecture Matrix

Why CAs and developers choose local TallyMCP.

Comparing TallyMCP against Docs by Ira (Tally), hosted cloud sync tools, and DIY XML prompting. All third-party statements are dated and cross-referenced with vendor documentation.

← Scroll horizontally to compare all options →
Feature & Metric
TallyMCP (this server)Recommended
Docs by Ira (Tally)TallyIra
Hosted cloud sync toolsDIY XML prompting
Workflow
Integration
Works inside Claude & CursorLocal MCP Server

Works inside Claude Desktop, Claude Code, Cursor and other MCP clients. ChatGPT needs a remote-reachable server.

Inside TallyPrime & Mobile AppTallyPrime 7.0+

Works inside TallyPrime and the TallyIra app; focused on turning invoices into vouchers. No documented third-party AI assistant or MCP integration.

Vendor docs
Separate Dashboards & Logins

Requires logging into external vendor portals, managing another set of logins, and maintaining cloud sync bridges.

Copy-Paste Between Windows

Manual copy-pasting of XML payloads and prompts between a browser chat window and Tally terminal.

Cost
Economics
Free & Open SourceMIT / Apache-2.0

TallyMCP is free and open source (MIT / Apache-2.0). Your chosen AI provider bills its own subscription or API usage separately.

Metered Packs + Active TSS₹200 / 100 pages

₹200 + GST per 100-page pack after the introductory free allowance. Requires an active Tally Software Services (TSS) subscription.

Vendor docs
Paid Subscriptions

Recurring vendor subscriptions; pricing and contract terms vary by provider and company count.

No Licence Fee (Time Cost)

No software purchase cost, but incurs substantial developer time, trial-and-error, and troubleshooting.

Scope
Coverage
35 Structured Tools35 Tools

35 tools: ledgers, Day Book, trial balance, ageing, GSTR-2B triage, draft vouchers, and statutory audit checks (Secs. 269SS/269T/40A(3)/PF-ESI flags).

8 Invoice Voucher Types8 Voucher Types

Creates 8 voucher types from invoices (Purchase, Sales, Orders, Notes); English invoices only; no bank statements; no documented ledger Q&A.

Vendor docs
Fixed Sync & Dashboards

Typically fixed reporting dashboards and periodic sync features; capabilities vary by vendor.

Whatever You Can Prompt

Whatever you can prompt and import yourself; smaller LLMs often struggle with complex nested XML tags.

Data path
Privacy
Local Loopback to TallyDirect Loopback

Connects to Tally on your machine. TallyMCP has no relay and (by design) no telemetry. Prompts and results go to your chosen AI provider.

Tally Online ProcessingOnline Service

Documents processed by Tally's online service; Tally states they are used only for processing and not to train others' models.

Vendor docs
Vendor Cloud Storage

Data is usually synchronized to and stored on the vendor's cloud infrastructure.

Web Chat Provider

Accounting data and financial figures go to whichever public AI chat provider or API endpoint you paste into.

Write safety
Integrity
Default Approve ModeTwo-Phase Review

In default Approve mode, nothing posts to Tally until you review and approve a draft that balances. Configurable auto mode available under strict limits.

In-Tally Review Before PostingIn-App Review

Drafts generated from OCR are reviewed and confirmed directly inside TallyPrime before posting to the books.

Vendor docs
Varies by Vendor

Some tools offer review queues while others perform direct automated sync; review vendor documentation.

Manual Import & Checks

Manual XML file export and import into Tally, requiring you to perform your own balance and syntax verification.

Local models
On-Premises
LM Studio & MCP FrontendsOffline Ready

Works with local tool-calling models through an MCP-capable client such as LM Studio (0.3.17+) or Claude Desktop with local endpoints.

Requires Internet & TSS

Requires active internet connectivity for cloud OCR parsing and active TSS license verification.

Vendor docs
Requires Vendor Cloud

Cannot operate without active connectivity to the vendor's cloud servers.

Difficult Without Tools

Local models struggle without structured tool definitions; high risk of malformed XML or invalid request structure.

Last checked 28 October 2026. Third-party products change; refer to vendor sources below for current terms.

Disclaimer: Tally and TallyPrime are registered trademarks of Tally Solutions Pvt. Ltd. Claude is a trademark of Anthropic PBC. Cursor is a product of Anysphere Inc. TallyMCP is an independent, community-driven open-source project and is not affiliated with, endorsed by, or sponsored by Tally Solutions or Anthropic. Statutory tax audit engines (Secs. 269SS/271D, 269T/271E, 40A(3), 36(1)(va)) generate automated analytical exception flags intended for professional CA review and do not constitute legal determinations.

Why use fragmented tools when Claude or Cursor can be your unified assistant?

You already use Claude, Cursor, or your local LLM to draft emails, analyze contracts, and write code. TallyMCP connects that same assistant directly to your TallyPrime books locally — giving you instant answers, BRS reconciliation, and voucher drafts with zero per-page fees.

Connect in 5 Minutes →

Interactive Setup & Live Verification

Tally MCP Server Claude & Client Configuration | Live PoC

Experience the native tally mcp server claude integration. Generate properly escaped configuration for Claude Desktop, Cursor, Antigravity, or Windsurf on Windows, or install via one-click .mcpb bundle.

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 (with diagnostic discovery for tallymcp.pro, tallymcppro, and legacy tally).

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": {
    "tallymcp.pro": {
      "command": "C:\\\\Users\\\\<YOUR_WINDOWS_USERNAME>\\\\AppData\\\\Local\\\\Programs\\\\TallyMCP\\\\tally-mcp.exe",
      "args": [
        "serve"
      ]
    }
  }
}
💡 Standard Identifier: Uses standardized identifier "tallymcp.pro" (also backward-compatible with legacy "tally" in tally-mcp doctor).
💡 Direct path in Claude Desktop: Click File ▸ Settings ▸ Developer ▸ Edit Config (or open %APPDATA%\Claude\claude_desktop_config.json).
💡 Process Reset & Tool Verification: After saving, ensure background processes exit cleanly. Run in PowerShell:
taskkill /IM Claude.exe /F
Then relaunch Claude Desktop, open a chat, and click + ▸ Connectors ▸ tallymcp.pro to verify all 12 active tools!

Claude Desktop Live Connector Proof

Verified PoC
Claude Desktop live demonstration showing tallymcp.pro connector active
+ ▸ Connectors ▸ tallymcp.pro Click to enlarge

Open any chat in Claude Desktop, click + ▸ Connectors to confirm tallymcp.pro is active.

Verified Proof of Concept (PoC) · Claude Desktop Live Demonstration

Real unedited screenshot showing tallymcp.pro active in Claude Desktop's native Connectors menu with verified tool access.

tallymcp.prostdio loopback
Claude Desktop — Connectors Menu
Claude Desktop live demonstration showing tallymcp.pro connector configured and active under Connectors menu
Click to view full resolution
Live proof: tallymcp.pro active with full tool accessclaude_desktop_config.json
What this demonstrates

Live confirmation of successful MCP integration

When you configure claude_desktop_config.json, Claude Desktop handles subprocess spawning over stdio automatically. Here is how to verify:

1. Connector Registration
Recognized as tallymcp.pro

Discovered automatically via claude_desktop_config.json stdio definition. Claude mounts it directly into the native + attachment popover.

2. Active Status Toggle
Live Green Status Indicator

The green toggle icon confirms the native Rust binary (tally-mcp) is running and successfully communicating with Tally on port 9000.

3. Direct Tool Access
All 12 Accounting Tools Available

Clicking 'Tool access >' unlocks tally_status, tally_day_book, tally_trial_balance, and draft voucher staging for conversational queries.

Quick Tip: If the connector doesn't appear immediately after saving your config, close Claude and kill lingering workers via:taskkill /IM Claude.exe /F

Important Legal Notice: Tally and TallyPrime are registered trademarks of Tally Solutions Pvt. Ltd. TallyMCP is an independent, open-source community project. It is not affiliated with, endorsed by, or sponsored by Tally Solutions Pvt. Ltd. All interactions use Tally's standard local HTTP/XML interface.

Privacy & Telemetry Notice
Accounting Practice & Real-World UseCommunity Verification & Feedback

Trusted for audit security and accounting integrity.

Engineered for CAs, CFOs, and finance professionals who demand strict local loopback execution, deterministic double-entry balance validation, and zero cloud telemetry.

Community Verification & CA Feedback

Using TallyMCP in your accounting practice or business?

We are actively collecting verified case studies from Chartered Accountants, auditors, and finance teams. If TallyMCP has sped up your Day Book audits, bank reconciliations, or voucher drafting workflows, we would love to feature your workflow here.

100% Open Source Software

TallyMCP is open-source software, dual-licensed under both the MIT License and the Apache License (Version 2.0), at your option. You can inspect the source code, compile binaries locally, and use it freely for personal, professional, or commercial accounting workflows with zero subscription fees, telemetry, or proprietary restrictions.

Frequently Asked Questions

Straight answers on data safety, permissions, and operations.

What is TallyMCP's license and is it free to use for my business?▼

Yes, completely. TallyMCP is open-source software, dual-licensed under both the MIT License and the Apache License (Version 2.0) at your option.

Anyone can inspect the code, compile it from source, use it for personal or commercial accounting, run it across your internal CA firm or business network, and integrate it with your AI agents without any monthly subscription fees or telemetry.

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.
Which versions of TallyPrime are supported?▼
TallyMCP officially supports TallyPrime Release 7.2 (Latest / Current Release), 6.x, 5.x, 4.x, and 3.x+. All communication uses Tally's native XML-over-HTTP port 9000 with zero proprietary extensions.
How does the dedicated /approve route and “See Details” modal work?▼
When an AI agent drafts a voucher, TallyMCP stages it locally with a cryptographic SHA-256 HMAC hash and provides a dedicated approval URL: http://127.0.0.1:9190/approve?draft_id=...&hash=.... Opening this route automatically pops up the interactive Review Modal with an exact double-entry ledger breakdown table, balance verification badge, and 1-click Confirm & Post to Tally.
Can I customize the safety mode?▼
Yes. TallyMCP v1.0.1 introduces dynamic safety mode toggling via the Companion UI and POST /api/safety/config. You can switch between approve (human confirmation for all writes), auto_under_limit (auto-commit below a configured ₹ limit), or off (read-only queries only). Settings persist directly to config.toml.
Does my accounting data leave my PC?▼
TallyMCP communicates directly with TallyPrime over local loopback (127.0.0.1:9000) with zero intermediary cloud relays, telemetry, or data harvesting. When you chat with your chosen AI assistant (such as Claude Desktop, ChatGPT, or Gemini), only the specific prompts and necessary accounting context leave your computer to reach your AI provider over your direct API or desktop app session.
How do I set up the tally mcp server claude integration using the one-click .mcpb file?▼

Claude Desktop supports direct extension installation via .mcpb bundles. Download our official release bundle tally-mcp-1.0.1.mcpb.

In Claude Desktop, go to File > Settings > Extensions > Advance Settings, click Install extension, browse the .mcpb file, and click Install when prompted. Verify by checking that tallymcp.pro is active in Claude Desktop's Connectors menu.