Tally Prime MCP Server
An MCP server for Tally Prime: reports, masters and vouchers from the accounting program are available to Claude and ChatGPT.
- 110 ★ on the repository
- Last commit
- MIT
Broad access
Why this level
- Write tools create vouchers and delete masters in the accounting database.
- Remote mode exposes company data behind a password.
Install
- Works in
Manual install
Enable the XML port in Tally Prime (F1, Settings, Connectivity, Client/Server: TallyPrime acts as Server, port 9000). Download the archive or `.mcpb` via the README links and connect the server in the client. If writes are not needed, set `BLOCK_WRITE=1`.
Access and checks
How we reviewBroad accessThe tool can change data, run commands or handle secrets.
- Write tools create vouchers and delete masters in the accounting database.
- Remote mode exposes company data behind a password.
This is third-party code. Review the repository files before installing.
What it does
The server connects an agent to Tally Prime through its XML port (9000 by default) and gives ERP data to the model. Twenty tools return masters (groups, ledgers, godowns, stock items, currencies), reports and vouchers. Report results land in built-in pglite tables, which the agent queries with SQL. Write tools exist too: creating and updating ledgers, journal vouchers and deleting masters. The `BLOCK_WRITE=1` variable hides them from the tool list entirely. The server runs locally, for example in Claude Desktop through the `.mcpb` extension, or as a remote MCP with OAuth login and a password.
Who it is for. Accountants and finance staff on Tally Prime who want to ask about vouchers, balances and reports in plain language.
Good fit when
- You need receivables by counterparty from Tally quickly.
- An agent builds a voucher summary and computes totals with a SQL query.
- An accountant wants to enter a batch of journal vouchers through the agent.
- The server runs remotely to connect ChatGPT or Claude without a Windows client.
Not a fit when
- The Educational version of Tally is used: the date limit corrupts data for the model.
- There is no company backup yet and write tools are needed.
- Tally Prime is not running and the XML port is off.
Example request
Show the trial balance for the Debtors group for the quarter and find the five largest balances with a SQL query.MCP
- Transport
- stdio, http
- Authentication
- OAuth
Environment variables
BLOCK_WRITE- 1 hides all write tools
PORT- Remote MCP server port, defaults to 3000
PASSWORDsecret- Password for the OAuth login page in remote mode
Limitations
It needs Tally Prime Silver or Gold with the XML port on (9000 by default); the Educational version gives incomplete data. Write tools change accounting data, the author requires a company backup, and `BLOCK_WRITE=1` disables writes completely. In remote mode replace the default password `password` with a complex one. The archive with dependencies is distributed from the author's site rather than a package registry, so verify the source. Grok and Mistral are supported only remotely.
How to disable. Remove the extension or the server entry from the client configuration and turn off the XML port in Tally Prime settings.
FAQ
How do I enable the XML port?
In Tally Prime: F1, Settings, Connectivity, Client/Server configuration; Server mode, port 9000.
Can writes be forbidden?
Yes, `BLOCK_WRITE=1` hides the write tools from the list entirely.
How do I connect to Claude Desktop?
Install the `.mcpb` extension from the README with one click. For ChatGPT and other clients a remote mode with OAuth is provided.
Why the built-in SQL tables?
Report results are stored in pglite tables so the agent computes totals with SQL without repeated Tally calls.
Which Tally version is needed?
Tally Prime Silver or Gold. The Educational version is discouraged because of its date range limit.
Discussion
No questions or reviews yet.
Related
MCP serversThe official Xero MCP server: an agent reads invoices, contacts, journals and reports and creates invoices, payments and timesheets
A financial analysis MCP server: 500+ methods from company statements, ratios, indicators, risk metrics and macro data
Market data in a dialogue with the agent: hosted server or local run, three modes and tool sets loaded on demand
An MCP server for Actual Budget: agents read accounts and transactions, build spending reports and, with a flag, edit categories.
The server gives agents read access to your bank accounts and transactions through Enable Banking, without payment tools.
An MCP server for MetaTrader 5: the agent reads the account and quotes, opens, changes and closes trades; a skill, REST and quote stream included
README in short
Covers requirements, downloading the Claude Desktop extension, local and remote setup, the tool list and environment variables.