TallyPrime API facts that shape an MCP server
| Fact | Detail | Source |
|---|---|---|
| Official MCP offering | Tally documents a TallyPrime MCP plug-in for Claude Desktop, with setup and validation steps on TallyHelp pages published on September 18, 2026. The page content requires a TallyHelp login. | TallyHelp: Configure Claude Desktop with TallyPrime MCP |
| Official tool scope | Tally’s tools page groups the tools under Company, Master, Accounting, Inventory, Outstanding and Transactions, and its summary says they let AI assistants access, analyze and retrieve TallyPrime data. The public summary does not mention posting vouchers. | TallyHelp: TallyPrime MCP Tools |
| MCP Registry | No entry from Tally Solutions. A search for “tally” returns one TallyPrime server, the third-party hosted io.github.usualaccountant/tally-mcp; the other results are unrelated products. | Official MCP Registry: search for tally |
| Most-starred open-source server | dhananjay1405/tally-mcp-server (MIT license, maintained by Dhananjay Gokhale, version 7.6 of September 4, 2026) documents 20 tools: 18 read-only ones for reports, statements, outstandings and SQL over cached results, plus ledger create or update and delete-master, which BLOCK_WRITE=1 removes. It has no voucher posting tool. | GitHub: dhananjay1405/tally-mcp-server |
| How integrations reach Tally | TallyPrime acts as an HTTP server that takes XML requests and returns XML responses; Tally says the entire Tally data can be made available and applications can store data without using the Tally screens. It must run on a configured port (for example 9000) with at least one company loaded, and the same settings include an Enable ODBC option. | TallyHelp: Pre-requisites for Integrations |
| Remote access | Tally’s developer reference (published September 22, 2026) notes that NAT, firewalls and changing IP addresses make inbound connections to TallyPrime hard, and describes a Tally Connector that opens an outbound secure WebSocket (wss://) instead. Tally calls it an illustrative pattern, not infrastructure it provides. | TallyHelp: Secure WebSocket Integration |
| Retries and duplicates | The same guide warns not to assume that replaying a TallyPrime write request is idempotent, and to avoid automatic replay when a write’s outcome is unknown. It recommends idempotency controls or business-level duplicate checks. | TallyHelp: Secure WebSocket Integration |
| Editions | Silver is a single-user license for one system at a time. Gold lets multiple users work on the same data at the same time within a LAN. | TallyHelp: All About TallyPrime License |
| Audit trail (Edit Log) | Edit Log is a view-only report of the creation, alteration and deletion of vouchers and masters. To meet India’s MCA audit trail requirement, TallyPrime Edit Log releases keep it always on, while standard TallyPrime lets you turn it off; one license covers both. | TallyHelp: Edit Log in TallyPrime FAQ |
| E-invoice cancellation | An e-invoice (IRN) can be cancelled only within 24 hours of generation. After that you can still cancel or delete the voucher in TallyPrime, but the e-invoice continues to exist. | TallyHelp: How to Cancel e-Invoice |
| Back-dated entries | Security controls include days allowed for back-dated vouchers and a cut-off date before which TallyPrime won’t record transactions, which Tally suggests once an audit is complete. | TallyHelp: Data Security FAQ |
| Tally’s own AI entries | Docs by Ira in TallyPrime 7.1 reads inward documents such as purchase invoices and creates entries, and Tally says you review and confirm before anything is saved in your books. | Tally Solutions: TallyPrime 7.1 |
Every way to connect TallyPrime to AI
| Option | Type | Fits when | Limits |
|---|---|---|---|
| TallyPrime MCP (Tally Solutions) | Official | Claude Desktop users on the PC that runs TallyPrime who want Tally’s own tools for company, master, accounting, inventory, outstanding and transaction data. | Documented only behind a TallyHelp login, set up for Claude Desktop, and described in terms of retrieving and analyzing data. The setup includes updating TallyPrime, so check the release with your Tally partner first. |
| dhananjay1405/tally-mcp-server | Community | A free, MIT-licensed start: read-only tools for trial balance, profit and loss, balance sheet, stock, ledger statements and bill-wise outstandings, a one-click Claude Desktop extension, and documented remote setups for claude.ai and ChatGPT. | Remote use means running your own Linux server with an SSH reverse tunnel from the Tally PC, Nginx and an OAuth login protected by one shared password. Its ledger and delete-master writes change masters, so set BLOCK_WRITE=1 unless you need them. Maintained by one developer. |
| The Usual Accountant | Hosted | Read-only questions from any device: a Windows app syncs Tally Prime or Tally ERP 9 books to an India-hosted, per-tenant encrypted store, and a hosted MCP endpoint with OAuth 2.0 (dynamic client registration) serves 21 tools. | Your books are copied to a third party, and answers are only as fresh as the last sync. It is commercial and proprietary, so confirm availability and data terms before you connect. |
| CData Connect AI | Hosted | Teams already on CData that want a remote MCP endpoint for Tally that works with Claude, ChatGPT, Copilot Studio and other clients, with a free trial. | The page doesn’t say how the cloud service reaches a desktop Tally or which operations are allowed, so confirm both in the trial. CData’s open-source Tally MCP server on GitHub is read-only and needs CData’s JDBC driver for Tally (trial or paid license). |
| Custom TallyPrime MCP server | Custom | Tools built around your questions and rules (party balances, overdue bills, GST checks, approved voucher drafts) with per-user access to specific companies, an outbound connector instead of open ports, and hosting in your own cloud. | You own the office-side connector, testing on a copy of each company, and upkeep across TallyPrime releases. |
Tools a TallyPrime MCP server should expose
Start with read-only tools and add write actions once the team trusts the answers. Every write action below runs with a confirmation or approval step.
| Tool | Access | Risk | Purpose | Guard |
|---|---|---|---|---|
get_party_balance | Read | Low | Closing balance of a customer or supplier ledger on a date, with the count of overdue bills. | The name must match an existing ledger in a company the user may see; returns amounts, not the ledger’s bank or contact details. |
list_outstanding_bills | Read | Medium | Receivable or payable bills as on a date: party, bill reference, amount and days overdue. | Permitted companies only; rows capped with totals, and a party filter for collectors who handle specific accounts. |
get_financial_statements | Read | Medium | Trial balance, profit and loss or balance sheet for a period, by group and ledger. | Finance roles only; periods limited to permitted financial years; results cached to avoid repeated heavy exports from TallyPrime. |
get_stock_summary | Read | Low | Opening, inward, outward and closing quantity and value of stock items, by stock group or godown. | Read-only; values hidden for roles that only need quantities. |
search_vouchers | Read | Medium | Find sales, purchase, receipt, payment or journal vouchers by date, type, party or number. | Date range capped per call; returns voucher number, date and GUID so every answer can be traced back in TallyPrime. |
get_gst_summary | Read | Medium | Output and input GST by rate and tax ledger for a return period, plus sales vouchers missing a GSTIN or HSN/SAC. | Read-only and labelled as book figures; return filing stays in TallyPrime’s GST reports and on the GST portal. |
create_party_ledger | Write | Medium | Create a customer or supplier ledger with GSTIN, state and credit period. | Preview first, then created only after an accountant confirms; refused if a ledger with that name or GSTIN exists; no changes to existing ledgers. |
create_sales_voucher | Write | High | Post a sales invoice from an approved order: party, items, HSN/SAC, GST ledgers and place of supply. | Preview with tax totals, then posted only after accountant approval; the source order ID is stored as the voucher reference and checked first so a retry can’t duplicate it; dates before the cut-off date are refused; e-invoice generation stays manual in TallyPrime. |
create_journal_voucher | Write | High | Post an approved adjustment such as an accrual, a reclassification or a TDS entry. | Balanced debits and credits on existing ledgers only; posted after accountant approval with a unique reference; refused before the cut-off date; the approver is logged next to the voucher number. |
Connect it to Claude, ChatGPT or Copilot Studio
Claude
Tally’s plug-in and the open-source server’s one-click extension run in Claude Desktop on the PC where TallyPrime runs, talking to its local port. For claude.ai, mobile or a whole team, add a remote server as a custom connector; on Team and Enterprise plans an Owner adds the URL. Those calls come from Anthropic’s cloud, not your office network, so the server needs a tunnel or outbound connector to Tally rather than an open port 9000, and a private server must allowlist Anthropic’s IP ranges.
ChatGPT
ChatGPT needs a public HTTPS endpoint or OpenAI’s Secure MCP Tunnel; the open-source project documents the tunnel for keeping its server on the Tally PC. Use developer mode (on Enterprise and Edu an admin must grant access). ChatGPT treats tools without a readOnlyHint as writes and asks for confirmation, so mark report tools read-only and keep posting tools separate.
Microsoft Copilot Studio
Copilot Studio runs in Microsoft’s cloud and supports only Streamable HTTP, so it needs the same remote server as claude.ai. Add it with the MCP onboarding wizard on the agent’s Tools page and use OAuth 2.0, so each person signs in with your company identity and the server maps them to the Tally companies and tools they may use. Power Platform data policies apply to MCP connections, so admins can govern the Tally server like other connectors.
Claude implementation · Copilot implementation · ChatGPT implementation
Permissions, identity and audit
- Tally sees every request as coming from the connector, not from the person asking, so the MCP server decides who may use which company and tool, based on each user’s sign-in with your identity provider.
- Keep the TallyPrime port on the same machine as the connector or on a restricted network path, as Tally’s integration guide advises, and never publish port 9000 to the internet.
- Start read-only: hide write tools (BLOCK_WRITE=1 in the open-source server), then add posting tools one at a time, each needing an accountant’s approval.
- Keep TallyPrime’s own controls on: Security Levels for user rights, a cut-off date for back-dated vouchers after each audit, and the Edit Log release where the MCA audit trail rule applies, so every AI-created entry is logged with its changes.
- Leave bank account details, PAN and payroll data out of tool results unless a specific role needs them.
- Log each call with the user, company, tool, voucher numbers touched and approver, but not the full report output.
Hosting and network
- Local: Tally’s plug-in or the open-source server runs beside TallyPrime with Claude Desktop, so no port leaves the PC. TallyPrime must be open with the company loaded, and tool results still go to the AI provider as part of the chat.
- Remote: the MCP server runs in your cloud account (AWS, Azure or similar) and reaches Tally over an outbound link from the office, such as an SSH reverse tunnel (the open-source project’s method) or a secure WebSocket connector (Tally’s reference pattern).
- Reports run inside TallyPrime itself, so cache large ones such as trial balance and stock summary. For many concurrent users, TallyPrime Server gives Gold setups server-based, concurrent access to Tally data.
- TallyPrime Cloud Access runs TallyPrime on a virtual computer hosted on Oracle Cloud Infrastructure; confirm with Tally or your partner whether a connector can run there before planning around it.
- Hosted sync services keep a copy of your books (The Usual Accountant uses an India-hosted, per-tenant encrypted store), so review data residency, retention and deletion terms.
Cost and timeline
- The open-source server is free under the MIT license; you still need TallyPrime Silver or Gold, an AI plan and, for remote use, a server you run. Tally’s public pages don’t state pricing for its MCP plug-in, and hosted services set their own (CData offers a free trial).
- A focused read-only TallyPrime MCP server typically takes two to four weeks including security and evaluation, covering the office-side connector and tests on a copy of your company data.
- Voucher posting with approvals, multi-company or multi-branch setups, and links to a CRM or online store take longer and are scoped after a short discovery.
TallyPrime MCP questions
Does Tally have an official MCP server?
Partly. As of September 2026 Tally Solutions documents a TallyPrime MCP plug-in for Claude Desktop on help pages published September 18, 2026, which require a TallyHelp login. There is no Tally Solutions entry in the official MCP Registry, and Tally’s public summary describes retrieving and analyzing data rather than posting.
Is there a free, open-source Tally MCP server?
Yes. The most-starred is dhananjay1405/tally-mcp-server (MIT license, 81 GitHub stars on September 27, 2026), with read-only tools for reports, ledgers, stock and outstandings and a one-click Claude Desktop extension. Other TallyPrime servers on GitHub are newer and have few stars so far, and some “Tally MCP” results are for Tally.so, an unrelated form builder.
Can AI post vouchers in Tally?
Technically yes: Tally’s integration interface lets applications store data without using the Tally screens, and some newer open-source servers add voucher creation. Tally’s public MCP summary covers retrieving and analyzing data, and the most-starred open-source server has no voucher tool. If you add posting, send only accountant-approved drafts, check a unique reference first (Tally warns that replayed writes aren’t automatically idempotent), and refuse dates before the cut-off date. For purchase bills, Docs by Ira in TallyPrime 7.1 already drafts entries for review.
Does it work with Claude, ChatGPT and Copilot?
Claude Desktop works locally with Tally’s plug-in or the open-source extension on the Tally PC. Web and cloud clients (claude.ai, ChatGPT and Copilot Studio) need a remote MCP server that reaches Tally through a tunnel or outbound connector. The open-source project documents remote setups for claude.ai and ChatGPT, and Copilot Studio needs a Streamable HTTP endpoint.
Does Tally need to be online or on the cloud?
No, but for self-hosted servers TallyPrime must be running with the company loaded, because they read it live through its integration port. A remote AI client reaches that PC through an outbound tunnel or connector, so the office needs a stable internet connection rather than an open inbound port. Hosted sync services copy your books to their cloud so questions work while the PC is off, at the cost of freshness and a third-party copy of your data.
Is it safe for GST and audit trail compliance?
It can be, if Tally’s controls stay on and the server adds its own. Use the Edit Log release where the MCA audit trail rule applies, set a cut-off date for back-dated vouchers after each audit, and have the server refuse postings before that date. Keep e-invoice generation manual: an IRN can be cancelled only within 24 hours, and deleting the voucher later leaves the e-invoice in place.
Which Tally versions and editions work?
The open-source server lists TallyPrime Silver or Gold as prerequisites and warns against Educational mode, whose date limits give partial data. The Usual Accountant says it also supports Tally ERP 9. Tally’s own setup page includes a step to update TallyPrime, with details behind the TallyHelp login.
Hosted or custom?
Use the official plug-in or the open-source server for read-only questions in Claude Desktop, and a hosted service if a synced copy of your books is acceptable. Choose a custom server when you need claude.ai, ChatGPT or Copilot access without open ports, per-user company permissions, GST-aware checks or approved voucher posting. AIONDATA is an independent provider and not a Tally partner, so we will say when the official or open-source option is enough.