A Tally MCP server is a small program that lets an AI assistant such as Claude or ChatGPT query TallyPrime through its XML port (9000 by default), using the open Model Context Protocol. As of October 2026, every one we found is third-party, not from Tally Solutions. Use one read-only, with the port closed to the internet.
What is a Tally MCP server?
MCP stands for Model Context Protocol. Anthropic introduced it in November 2024 as an open standard for connecting AI assistants to the systems where data lives. In December 2025 it was donated to the Agentic AI Foundation, a fund under the Linux Foundation co-founded by Anthropic, Block and OpenAI. The official MCP documentation compares it to a USB-C port for AI applications, and lists Claude, ChatGPT, Visual Studio Code and Cursor among the apps that support it.
The protocol has three parts. The host is the AI app you type into. The client is the connector inside that app. The server is a small program that offers the AI a set of tools, such as "fetch the trial balance" or "list outstanding bills".
A Tally MCP server is one of those small programs, written for TallyPrime. When you ask "Which customers have owed us money for more than 90 days?", the AI picks a tool, the MCP server turns that into an XML request, TallyPrime answers, and the AI writes the reply in plain language. TallyPrime itself doesn't change: Tally's integration guide describes TallyPrime acting as an HTTP server that accepts XML requests, with JSON and ODBC as other options, on port 9000 by default. Connectors use that same door.
What a Tally MCP server can read and write
Each project chooses its own tools. This is what the public projects we looked at expose, grouped by how much they can affect your books:
| Tool type | Examples in public projects | Main risk |
|---|---|---|
| Reports | Trial balance, profit and loss, balance sheet, stock summary | Low for your books The figures still go to the AI provider |
| Masters and statements | Chart of accounts, ledger statements, outstanding bills, day book | Personal data Party names, phone numbers and addresses leave your server |
| Create or alter | Create or update ledgers, groups and stock items; post journal or other vouchers | Wrong entries The AI can misread a request and post it anyway |
| Delete | Delete masters such as ledgers, stock items or godowns | Data loss Recovery means restoring a backup |
Is there an official Tally MCP server?
No, not as of October 2026. Tally Solutions' own AI work is TallyIra. Its first feature, Docs by Ira, arrived with TallyPrime 7.1 and turns scanned or uploaded invoices into draft entries that "you review before anything is saved", according to Tally's TallyPrime 7.1 page. That page doesn't mention MCP or connecting outside assistants like Claude or ChatGPT.
Everything called a "Tally MCP server" today comes from someone else. These are the projects most likely to come up when you search GitHub:
| Project | Who makes it | Licence | Can it change your books? |
|---|---|---|---|
| tally-mcp-server v7.7, 1 Oct 2026 | CA Dhananjay Gokhale, an independent developer. Also listed on ICAI's AI use-case site | MIT (open source) | Yes, by default Create or update ledgers, journal vouchers, delete masters. A BLOCK_WRITE setting hides them |
| Tally-MCP-Server | An individual developer on GitHub | None listed | Creates only Ledgers, groups, stock items and vouchers; editing and deleting aren't supported |
| Tally MCP Server by Tirnav Solutions | A company selling it as a product | Commercial | Read-only by default Writes only when the operator enables them and an admin grants them per user |
Details from each project's own page, checked on 10 October 2026. Listed so you know what you're looking at, not as recommendations: we haven't audited their code. Tirnav states its product isn't affiliated with or endorsed by Tally Solutions, and can be hosted by Tirnav or on your own server.
New projects appear every month, so check the maintainer, the licence, the date of the last release and, above all, the tool list before you install one.
How a Tally MCP server connects to TallyPrime
Every connector we found needs the same four things:
- TallyPrime running, with the company open. Tally's integration prerequisites say at least one company must be loaded.
- The XML server switched on. Tally's help puts it under Exchange › Data Synchronisation; the project READMEs use F1 › Settings › Connectivity › Client/Server configuration. Set TallyPrime acts as to Server (or Both) and the port to 9000.
- A licensed Silver or Gold copy. The tally-mcp-server README warns that Educational mode's date limits lead to "invalid / partial data being fed to LLM".
- A runtime and an AI app. The open-source projects run on Node.js, and you add them to an MCP-capable app such as Claude Desktop.
The connector and TallyPrime normally sit on the same computer, so the connector reaches TallyPrime at localhost:9000 and nothing else on the network needs to. Here is how that looks when TallyPrime runs on a private cloud server:
Two practical notes for a server. First, the connector uses a TallyPrime that's already open. If you keep one open just for it, that instance counts towards your licence's Tally Virtual Users like any other. Second, the connector runs with the Windows permissions of whoever starts it, so it can see whatever that user can see.
The risks: open ports, write access and your data
1. An open port is an open book
Tally's integration set-up page covers switching the port on, choosing its number and enabling ODBC. It doesn't describe a login for the port. So treat anyone who can reach port 9000 as someone who may be able to query whichever company is open. The port was built to talk to other computers: Tally's synchronisation set-up even asks for a static public IP on the server for direct-IP sync. That's exactly the set-up you don't want for an AI connector.
Remote connectors add a second door. Browser and phone AI apps can't start a program on your computer, so the connector must run as a web service they can reach over the internet. In tally-mcp-server, the login page's password defaults to "password" until you change it. In Tally-MCP-Server, the remote endpoint asks for a token only if you set one. The MCP security best practices advise local servers to use the stdio pipe, and to require an authorisation token if they use HTTP.
2. Write tools can post, alter and delete
An AI assistant can misread "reverse last week's rent entry" just as a new trainee can. The difference is that it acts in seconds. The tally-mcp-server README tells you to "always backup your Company" before using its ledger tool, and the list of master types its delete tool accepts runs from ledgers and stock items to the company itself. The MCP specification says hosts must get your explicit consent before invoking any tool, and that tools "represent arbitrary code execution". Keep those approval prompts on. Never set write tools to "always allow".
3. Your books can carry instructions
AI models can be steered by text hidden in the data they read. OWASP calls this indirect prompt injection. A narration, a party name or a line from an imported bank statement could carry text written to mislead the assistant. With write tools on, that could mean an entry you never asked for. Read-only access takes most of the danger out of it.
4. Your data goes to the AI provider
Whatever the connector returns becomes part of the conversation, and a cloud AI model reads it on the provider's servers to write its answer. That can include customers' names, phone numbers, addresses, GSTINs and PANs, or salary details if you run payroll in TallyPrime. Before you connect, check your AI plan's settings: how long chats are kept, and whether they can be used to improve the provider's models. One project also supports LM Studio, which runs an open model on your own hardware so nothing goes to an AI company, at the cost of the computing power that needs.
5. The DPDP Act still applies
If your books hold data about individuals, the Digital Personal Data Protection Act, 2023 treats your business as the Data Fiduciary for it. Section 8(2) lets you involve a Data Processor, such as an AI provider acting for you, only under a valid contract. Section 8(5) makes you responsible for reasonable security safeguards, including for processing done on your behalf. Section 16 allows transfers abroad unless the government restricts a country. The DPDP Rules were notified in November 2025, and most duties, including security safeguards and 72-hour breach reports, apply from 13 May 2027.
CA firms, take extra care. Your clients' books belong to your clients. Get their written agreement before any of their data goes to an AI tool, and talk to your legal adviser about your DPDP duties. This guide explains the risks; it isn't legal advice.
Risk checklist: is your set-up green, amber or red?
Pick the answer closest to your set-up for each question. The checklist rates the set-up by its weakest point and tells you what to fix. Nothing you click leaves this page.
Tally MCP safety check
Five questions on the connector's source, permissions, port exposure, the data it shares and your way back if something goes wrong.
Answer the five questions to see your rating.
The overall rating is the worst of your five answers, because one open door is enough.
A safe set-up in six steps
Whichever connector you choose, this order keeps your live books out of harm's way while you find out what it does:
- Take a fresh backup of the company from TallyPrime's Data menu (Alt+Y). Our TallyPrime backup guide covers where to keep it.
- Try it on a copy first. Restore the backup into a separate data folder and point the AI at that copy before the live company.
- Switch on the XML server for this computer only. Set TallyPrime acts as to Server on port 9000, then check that Windows Firewall has no rule letting other computers reach port 9000 or TallyPrime.
- Install the connector from its original source and read its tool list. Switch off write tools unless you need them.
- Keep approval prompts on in your AI app, so it asks before every tool call.
- Check answers against TallyPrime's own reports before you act on them, especially totals, dates and GST figures.
In tally-mcp-server, for example, the settings that keep it local and read-only look like this. Setting names differ between projects, and this project's README notes that Claude Desktop has its own switch for write tools:
TALLY_HOST=localhost # talk to TallyPrime on this machine only TALLY_PORT=9000 # TallyPrime's XML port BLOCK_WRITE=1 # 1 hides create, alter and delete tools
Running a Tally MCP server on a cloud server
With Tally on Cloud, TallyPrime already runs on a Windows server that you open over Remote Desktop. That makes the safest pattern easy: the connector lives on the same private server as TallyPrime and reaches it at localhost, so port 9000 never needs to be reachable from anywhere else. What you still decide is where the AI app runs.
| Set-up | What it exposes | Works with | Our view |
|---|---|---|---|
| AI desktop app inside your server session, connector over stdio | Nothing new inbound. Outbound HTTPS to the AI provider | Desktop apps that can start a local MCP server. Check the maker supports Windows Server | Simplest and safest |
| Remote connector on the server for web or phone AI apps | A new web address on the internet, guarded by the connector's own login | Browser and phone AI apps. One project lists ChatGPT as remote-only | Only with a strong login, encryption, IP limits and logs |
| Port 9000 opened or forwarded to the internet | TallyPrime's XML server itself | Anything that can reach it | Never |
The remote pattern is where most of the work and risk sit. tally-mcp-server's README calls its cloud set-up "quite complicated", and its Windows Server guide was still marked "exploration in-progress" when we checked.
How this fits a TallyoCloud server
- One company per private server. A connector on your Tally cloud server can only see your own companies, and no other customer's data sits on the machine.
- Port 9000 stays private. Our firewall lets in only Remote Desktop Gateway traffic, so TallyPrime's XML port isn't reachable from the internet. The security page lists every control.
- The same check as any add-on. Before a third-party add-on goes on a server, we check its licence and compatibility, that it runs without giving users administrator rights and that it doesn't open ports to the internet, as our features page explains. An MCP connector would get the same check.
- A way back. Daily automated backups with 30-day retention give you restore points if a write goes wrong. Take a fresh TallyPrime backup before any session that writes anyway.
Where we stand. TallyoCloud doesn't sell or bundle a Tally MCP server, and we don't recommend a particular project. If you want to try one, it can be set up on your private server on request. Ask us before you install anything, and tell us which connector and AI app you plan to use and whether you need write access.
Sources
Checked on 10 October 2026:
- What is the Model Context Protocol? and the MCP specification (2026-07-28), modelcontextprotocol.io
- MCP security best practices, modelcontextprotocol.io
- Introducing the Model Context Protocol (25 November 2024) and donating MCP to the Agentic AI Foundation (9 December 2025), Anthropic
- Integrate with TallyPrime, pre-requisites for integrations and set-up for data synchronisation, TallyHelp
- TallyPrime 7.1: what's new, Tally Solutions
- Project pages: dhananjay1405/tally-mcp-server and vaijaaaaa/Tally-MCP-Server on GitHub, and Tirnav Solutions
- LLM01: Prompt Injection, OWASP Gen AI Security Project
- Digital Personal Data Protection Act, 2023, MeitY, and Bar & Bench on the DPDP Rules, 2025
TallyPrime and TallyIra are trademarks of Tally Solutions Pvt. Ltd. TallyoCloud is an independent hosting provider and is not affiliated with Tally Solutions or with any MCP project named here. Claude, ChatGPT and other product names belong to their owners.
Frequently asked questions
Is there an official Tally MCP server?
Not as of October 2026. The Tally MCP servers we found are third-party projects, mostly open source on GitHub, plus at least one commercial product. None comes from Tally Solutions. Tally's own AI feature in TallyPrime 7.1 is Docs by Ira, which turns invoices into draft vouchers. Check any connector's maintainer, licence and permissions before you install it.
Can I use a Tally MCP server with Tally on Cloud?
Technically, yes. The MCP server runs on the same private server as TallyPrime, so the XML port is reachable only from that machine. If the AI app also runs inside your Remote Desktop session, nothing new is opened to the internet. TallyoCloud doesn't sell an MCP product, but one can be set up on your private server on request. Ask us before you install anything, because it reads, and may write, your books.
Is it safe to connect Tally to an AI assistant?
It can be, with care. Keep TallyPrime's port closed to the internet, give the connector read-only access where you can, and leave the AI app's approval prompts on. Remember that questions and answers send parts of your books, including customers' personal data, to the AI provider. Check your plan's data settings and your duties under the DPDP Act first.
Does a Tally MCP server work with ChatGPT and Claude?
Usually, because both support the Model Context Protocol. A desktop app such as Claude Desktop can start a local MCP server on the same computer as TallyPrime. Browser and phone apps need a remote MCP server instead, reachable over the internet, and one project lists ChatGPT as remote-only. A remote set-up needs a strong login, encryption and careful firewall rules.
Can a Tally MCP server change or delete my entries?
Some can. One open-source project includes tools to create or update ledgers, post journal vouchers and delete masters, and allows them unless you switch on its BLOCK_WRITE setting. Another can create ledgers, stock items and vouchers. Turn write tools off unless you need them, take a backup before any session that writes, and try the connector on a copy of your company first.
Does TallyPrime need to be running for an MCP server to work?
Yes. The connectors we found talk to TallyPrime's built-in XML server, so TallyPrime must be open with the company loaded and its port, 9000 by default, switched on. Use a licensed Silver or Gold copy: one project warns that Educational mode's date limits feed partial data to the AI. On a cloud server, that open TallyPrime instance counts towards your Tally Virtual Users.