🖥️ Tally Prime MCP Server – Complete Guide
Capabilities · System Requirements · Installation · Technical Components · Flowchart · Mind Map · Roadmap
Digital E-Filing Coach | Amanuddin Education📋 Table of Contents – Click to Jump
🔷 1. What is Tally Prime MCP Server?
Imagine you have a super-smart robot assistant (Claude AI) and a powerful accounting software (TallyPrime). The Tally MCP Server is the bridge that connects them — so Claude AI can directly read, understand, and talk to your TallyPrime data using plain human language!
MCP stands for Model Context Protocol — a special communication language that lets AI models (like Claude) interact with software tools and data sources in real time.
Key Points to Remember
- MCP = Model Context Protocol → Standard way for AI to talk to tools/software
- TallyPrime MCP Server connects Claude AI ↔ TallyPrime accounting data
- You can ask Claude: "What is my trial balance?" and it fetches it from Tally instantly
- No need to manually export reports from Tally — AI does it for you
- Works through TallyPrime's XML Server on Port 9000
- Requires Claude Desktop Pro/Team Plan + NodeJS + TallyPrime Registered License
| Term | Meaning (Simple Language) | Example |
|---|---|---|
| MCP | A standard language/protocol for AI ↔ tools | Like USB standard for devices |
| MCP Server | A middleman program sitting between AI and Tally | Like a translator in a meeting |
| TallyPrime | Accounting software widely used in India | Used for GST, accounts, payroll |
| Claude AI | Anthropic's AI model – the "brain" | Answers your Tally questions |
| XML Server | TallyPrime's built-in data-sharing service | Sends data on Port 9000 |
| NodeJS | Runtime environment to run the MCP Server code | Like a car engine for the server |
🟢 2. Capabilities of Tally MCP Server
A) Data Querying
Claude AI can directly query your TallyPrime company data — no manual export needed!
- Fetch Ledger Balances – Ask "What is the balance of my Sundry Debtors ledger?" → Claude fetches it instantly
- List Masters – Get a complete list of ledgers, stock items, groups, etc. from Tally
- Trial Balance Access – View full Trial Balance directly through Claude AI chat
- Item Balances – Check stock item-wise balances and quantities from Tally inventory
B) AI Analysis
Claude AI doesn't just fetch data — it also THINKS and ANALYZES your financial data!
- Natural Language Search – Ask questions like "Show me all parties with overdue payments" in plain English
- Customer Standing Analysis – AI analyzes which customers are paying on time, who is defaulting, creditworthiness
- Automatic Ledger Correction – AI can spot wrongly classified ledgers and suggest corrections automatically
C) Visualization
Data becomes VISUAL — Claude creates beautiful HTML reports and charts from Tally data!
- HTML Dashboards – Beautiful web-based dashboards showing financial summaries
- Pie Charts – Visual breakdown of expenses, income, stock, etc.
- Timeline Outstanding – Show overdue payments on a timeline — who owes what for how long
| Capability | Sub-Feature | What You Ask | What Claude Does |
|---|---|---|---|
| Data Querying | Ledger Balances | "Sundry creditor balance?" | Fetches from Tally XML |
| Data Querying | Trial Balance | "Show trial balance" | Fetches entire trial balance |
| AI Analysis | Customer Standing | "Which customers are overdue?" | Analyzes & lists them |
| AI Analysis | Ledger Correction | "Check ledger classification" | Finds & suggests fixes |
| Visualization | HTML Dashboard | "Create income dashboard" | Generates interactive HTML |
| Visualization | Pie Chart | "Expense breakup chart" | Builds visual pie chart |
🟠 3. System Requirements
Before you set up the Tally MCP Server, make sure your computer has ALL these things ready:
✅ TallyPrime Registered License
You need a genuine, registered TallyPrime license (not trial). TallyPrime 3.0+ is recommended for best compatibility.
✅ NodeJS Installed
NodeJS is a runtime environment that runs the MCP Server JavaScript code. Download from nodejs.org (LTS version recommended).
✅ Claude Desktop Pro/Team Plan
You need Claude Desktop application with a Pro or Team subscription. MCP tool support is NOT available on free plans.
✅ XML Server on Port 9000
TallyPrime has a built-in XML Server. You must enable it and set the port to 9000 in Tally's configuration settings.
| Requirement | Version/Detail | Why It Is Needed | Where to Get |
|---|---|---|---|
| TallyPrime | Registered License, v3.0+ | Source of accounting data | Official Tally dealer |
| NodeJS | LTS version (v18+) | Runs MCP server code | nodejs.org |
| Claude Desktop | Pro or Team Plan | AI engine + MCP support | claude.ai/download |
| XML Server Port | Port 9000 | TallyPrime data access API | Tally settings (F12) |
| OS | Windows 10/11 | TallyPrime compatibility | Pre-installed |
| RAM | 8 GB minimum | Smooth AI + Tally operation | Hardware |
🟣 4. Installation Steps
Step A: Tally Configuration
- Enable Connectivity – In TallyPrime → F12 (Configure) → Connectivity → Enable TallyPrime Server = YES
- Set Port to 9000 – In the same settings, set the XML Port Number = 9000 and save
Step B: MCP Server Setup
- Download Project Files – Download the Tally MCP Server project from GitHub or the official source (ZIP file)
- Extract to Local Folder – Extract the ZIP to a local folder e.g. C:\tally-mcp-server\ — remember this path!
- Open Command Prompt in that folder and run:
npm install
Step C: Claude Integration
- Edit claude_desktop_config.json – Open this config file (found in Claude Desktop's settings/app data folder)
- Update Folder Paths – Add the MCP server configuration pointing to your extracted folder path
- Restart Claude Desktop – Close and reopen Claude Desktop — the Tally MCP tools will now appear!
| Step | Action | Location/File | Expected Result |
|---|---|---|---|
| 1 | Enable Tally Server | TallyPrime → F12 → Connectivity | Tally XML Server starts |
| 2 | Set Port 9000 | TallyPrime Settings | Port 9000 becomes active |
| 3 | Download MCP Files | GitHub / Official Site | ZIP file downloaded |
| 4 | Extract Files | C:\tally-mcp-server\ | Project folder created |
| 5 | Run npm install | Command Prompt | Dependencies installed |
| 6 | Edit Config JSON | claude_desktop_config.json | MCP server path added |
| 7 | Restart Claude Desktop | Claude Desktop App | Tally tools appear in Claude |
{
"mcpServers": {
"tally": {
"command": "node",
"args": ["C:\\tally-mcp-server\\index.js"]
}
}
}
🔵 5. Technical Components
- Model Context Protocol (MCP) – The open standard/framework created by Anthropic that defines how AI models connect with external tools, databases, and APIs. Think of it as a universal adapter.
- Claude AI Engine – The brain of the system. Claude processes your natural language questions, decides what Tally data it needs, calls the MCP tools, gets the data, and gives you a smart answer.
- JSON Configuration – The configuration file (claude_desktop_config.json) that tells Claude Desktop: "Hey! Here is a Tally MCP Server. Here is where it lives. Use it when someone asks about Tally data."
| Component | Role | Technology Used | Analogy |
|---|---|---|---|
| MCP Protocol | Defines communication standard | JSON-RPC over stdio/HTTP | Rules of a language |
| MCP Server (Node) | Handles requests from Claude | NodeJS + JavaScript | Receptionist at office |
| TallyPrime XML | Provides accounting data | XML over HTTP Port 9000 | Filing cabinet of records |
| Claude AI Engine | Understands questions & gives answers | Claude Sonnet (LLM) | Smart accountant |
| JSON Config | Registers MCP server with Claude | .json config file | Contact list of tools |
| Claude Desktop | User interface for all interactions | Electron Desktop App | Office desk to work at |
🔴 6. How to Create Tally MCP Server (Step-by-Step Procedure)
Install Prerequisites
Install NodeJS (LTS), Claude Desktop (Pro/Team), and ensure TallyPrime is running with registered license.
Enable Tally XML Server
In TallyPrime: F12 → Connectivity → Enable Server = YES → Set Port = 9000 → Save & Restart Tally.
Download MCP Server Code
Download the tally-mcp-server project ZIP from GitHub. Extract to a folder like C:\tally-mcp-server\
Install Node Packages
Open CMD in the folder. Run npm install to download all required packages (MCP SDK, axios, etc.)
Configure Claude Desktop
Find claude_desktop_config.json (usually in AppData). Add the tally MCP server entry with correct file path.
Restart & Verify
Restart Claude Desktop. Open Claude, type "list tally tools" — if setup is correct, Tally tools will appear!
🔷 7. Actions You Can Perform & Expected Results
Once the Tally MCP Server is running, here is what you can DO and what happens:
| Your Action (What You Type in Claude) | MCP Tool Called | Tally Does | Result You See |
|---|---|---|---|
| "Show me my trial balance" | get_trial_balance | Fetches XML trial balance from Port 9000 | Formatted trial balance table in Claude |
| "What is the balance of ABC Traders ledger?" | get_ledger_balance | Queries specific ledger in Tally | Exact closing balance displayed |
| "List all ledgers under Sundry Debtors" | list_masters | Fetches all ledger masters | Formatted list of debtors shown |
| "Who are my overdue customers?" | get_outstanding + AI analysis | Fetches all outstandings | List of overdue parties with days overdue |
| "Create a dashboard for my sales this month" | get_vouchers + visualization | Fetches sales vouchers | Beautiful HTML dashboard generated |
| "Check if any ledgers are wrongly classified" | list_masters + Claude AI | Fetches all ledger groups | AI analysis report of suspect ledgers |
| "Show me item-wise stock balance" | get_item_balances | Queries stock summary from Tally | Stock item list with quantities & values |
| "Create a pie chart of my expenses" | get_ledger_data + chart | Fetches expense ledger data | Interactive pie chart in HTML |
🟢 8. Flowchart – How Tally MCP Server Works
This flowchart shows the complete journey of a query from user to Tally and back:
🟠 9. Mind Map – Tally Prime MCP Server
🟣 10. Roadmap – Tally MCP Server Setup Journey
Follow this roadmap from ZERO to a fully working Tally AI integration:
