Tally mcp serve

Tally Prime MCP Server – Complete Guide | Amanuddin Education

🖥️ 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
TermMeaning (Simple Language)Example
MCPA standard language/protocol for AI ↔ toolsLike USB standard for devices
MCP ServerA middleman program sitting between AI and TallyLike a translator in a meeting
TallyPrimeAccounting software widely used in IndiaUsed for GST, accounts, payroll
Claude AIAnthropic's AI model – the "brain"Answers your Tally questions
XML ServerTallyPrime's built-in data-sharing serviceSends data on Port 9000
NodeJSRuntime environment to run the MCP Server codeLike 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
CapabilitySub-FeatureWhat You AskWhat Claude Does
Data QueryingLedger Balances"Sundry creditor balance?"Fetches from Tally XML
Data QueryingTrial Balance"Show trial balance"Fetches entire trial balance
AI AnalysisCustomer Standing"Which customers are overdue?"Analyzes & lists them
AI AnalysisLedger Correction"Check ledger classification"Finds & suggests fixes
VisualizationHTML Dashboard"Create income dashboard"Generates interactive HTML
VisualizationPie 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:

1

✅ TallyPrime Registered License

You need a genuine, registered TallyPrime license (not trial). TallyPrime 3.0+ is recommended for best compatibility.

2

✅ NodeJS Installed

NodeJS is a runtime environment that runs the MCP Server JavaScript code. Download from nodejs.org (LTS version recommended).

3

✅ 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.

4

✅ 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.

RequirementVersion/DetailWhy It Is NeededWhere to Get
TallyPrimeRegistered License, v3.0+Source of accounting dataOfficial Tally dealer
NodeJSLTS version (v18+)Runs MCP server codenodejs.org
Claude DesktopPro or Team PlanAI engine + MCP supportclaude.ai/download
XML Server PortPort 9000TallyPrime data access APITally settings (F12)
OSWindows 10/11TallyPrime compatibilityPre-installed
RAM8 GB minimumSmooth AI + Tally operationHardware

🟣 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!
StepActionLocation/FileExpected Result
1Enable Tally ServerTallyPrime → F12 → ConnectivityTally XML Server starts
2Set Port 9000TallyPrime SettingsPort 9000 becomes active
3Download MCP FilesGitHub / Official SiteZIP file downloaded
4Extract FilesC:\tally-mcp-server\Project folder created
5Run npm installCommand PromptDependencies installed
6Edit Config JSONclaude_desktop_config.jsonMCP server path added
7Restart Claude DesktopClaude Desktop AppTally tools appear in Claude
📝 Sample claude_desktop_config.json entry:
{
  "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."
ComponentRoleTechnology UsedAnalogy
MCP ProtocolDefines communication standardJSON-RPC over stdio/HTTPRules of a language
MCP Server (Node)Handles requests from ClaudeNodeJS + JavaScriptReceptionist at office
TallyPrime XMLProvides accounting dataXML over HTTP Port 9000Filing cabinet of records
Claude AI EngineUnderstands questions & gives answersClaude Sonnet (LLM)Smart accountant
JSON ConfigRegisters MCP server with Claude.json config fileContact list of tools
Claude DesktopUser interface for all interactionsElectron Desktop AppOffice desk to work at

🔴 6. How to Create Tally MCP Server (Step-by-Step Procedure)

1

Install Prerequisites

Install NodeJS (LTS), Claude Desktop (Pro/Team), and ensure TallyPrime is running with registered license.

2

Enable Tally XML Server

In TallyPrime: F12 → Connectivity → Enable Server = YES → Set Port = 9000 → Save & Restart Tally.

3

Download MCP Server Code

Download the tally-mcp-server project ZIP from GitHub. Extract to a folder like C:\tally-mcp-server\

4

Install Node Packages

Open CMD in the folder. Run npm install to download all required packages (MCP SDK, axios, etc.)

5

Configure Claude Desktop

Find claude_desktop_config.json (usually in AppData). Add the tally MCP server entry with correct file path.

6

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 CalledTally DoesResult You See
"Show me my trial balance"get_trial_balanceFetches XML trial balance from Port 9000Formatted trial balance table in Claude
"What is the balance of ABC Traders ledger?"get_ledger_balanceQueries specific ledger in TallyExact closing balance displayed
"List all ledgers under Sundry Debtors"list_mastersFetches all ledger mastersFormatted list of debtors shown
"Who are my overdue customers?"get_outstanding + AI analysisFetches all outstandingsList of overdue parties with days overdue
"Create a dashboard for my sales this month"get_vouchers + visualizationFetches sales vouchersBeautiful HTML dashboard generated
"Check if any ledgers are wrongly classified"list_masters + Claude AIFetches all ledger groupsAI analysis report of suspect ledgers
"Show me item-wise stock balance"get_item_balancesQueries stock summary from TallyStock item list with quantities & values
"Create a pie chart of my expenses"get_ledger_data + chartFetches expense ledger dataInteractive 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:

START User Opens Claude Desktop User Types a Question "What is my trial balance?" Claude AI Processes Request Understands intent, selects MCP Tool Is MCP Server Running? Show Error "Server Not Found" NO YES MCP Server Receives Request NodeJS processes the tool call Sends XML Request to TallyPrime HTTP POST → localhost:9000 TallyPrime Processes XML Request Fetches data from company database XML Response Returned to MCP MCP Server parses XML to JSON Claude AI Analyzes Data Formats answer in human language END – Answer Displayed to User in Claude Desktop Chat

🟠 9. Mind Map – Tally Prime MCP Server

Tally Prime MCP Server CAPABILITIES 3 Sub-Areas Data Querying Ledger, Trial Bal AI Analysis NL Search, Analysis Visualization Dashboards, Charts SYSTEM REQ. 4 Requirements TallyPrime Lic. Registered, v3.0+ NodeJS LTS v18+ required Claude Pro/Team Desktop App INSTALLATION 3 Steps Tally Config Port 9000 Setup MCP Setup npm install Claude Integration Edit config.json TECHNICAL 3 Components MCP Protocol JSON-RPC Standard Claude AI Engine LLM + Tool calls JSON Config claude_desktop_config 🗺️ Mind Map: Tally Prime MCP Server Digital E-Filing Coach | Amanuddin Education

🟣 10. Roadmap – Tally MCP Server Setup Journey

Follow this roadmap from ZERO to a fully working Tally AI integration:

1 PHASE 1 – PREREQUISITE CHECK ✔ TallyPrime registered ✔ NodeJS installed ✔ Claude Desktop Pro/Team 2 PHASE 2 – TALLY CONFIGURATION ✔ F12 → Enable Server = YES ✔ Port = 9000 ✔ Restart TallyPrime 3 PHASE 3 – DOWNLOAD MCP PROJECT ✔ Download ZIP from GitHub ✔ Extract to C:\tally-mcp-server\ 4 PHASE 4 – INSTALL DEPENDENCIES ✔ Open CMD in project folder ✔ Run: npm install ✔ Wait for success 5 PHASE 5 – CONFIGURE CLAUDE DESKTOP ✔ Open claude_desktop_config.json ✔ Add MCP server entry ✔ Save file 6 PHASE 6 – RESTART & VERIFY ✔ Restart Claude Desktop ✔ Type "list tools" ✔ Tally tools appear ✅ 7 PHASE 7 – START USING AI WITH TALLY ✔ Ask questions in plain English ✔ Get trial balance, analysis, charts instantly 🎉 SUCCESS! AI-Powered Tally Tally MCP Server Fully Operational! AI + TallyPrime Integration Complete ✅
⚠️ Disclaimer: This resource is for educational purposes only and does not constitute legal or professional advice. Always consult a qualified IT professional or Tally partner for actual implementation. Digital E-Filing Coach | Amanuddin Education, Haldia, West Bengal
© 2026 Digital E-Filing Coach – Amanuddin Education | Tally Prime MCP Server – Complete Educational Guide
Scroll to Top