Logo vun Tally Prime MCP 服务器

Tally Prime MCP 服务器

Communautéit
dhananjay1405

Tally Prime MCP (Model Context Protocol) Server implementation to feed Tally ERP data to popular LLM like Claude, ChatGPT supporting MCP

Editeurdhananjay1405
Repositorytally-mcp-server
SproochTypeScript
Forks
32
Stären
79
Disponibel Tools
0
Transporttypstdio
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Tally Prime MCP 服务器 stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    79 Stären an 32 Forks aus dem verlinkte Repository.

Tally Prime MCP Server

Tally Prime MCP (Model Context Protocol) Server implementation to feed Tally Prime ERP data to popular LLM like Claude, ChatGPT supporting MCP client. This MCP Server helps expose functionalities of Tally to LLM directly.

Prerequisites

  • Tally Prime (Silver / Gold)
  • Node JS

Ensure below things are pre-installed and setup:

  • Ensure to download & install Node JS from official website
  • XML Port of Tally Prime must be enabled (F1 > Settings > Connectivity > Client/Server configuration) with below settings
TallyPrime acts as = Server
Port = 9000

Note: Kindly avoid using Educational version of Tally Prime, which has limitations of date range. It will result in invalid / partial data being fed to LLM, leading to highly degraded & incorrect responses.

Download

Avoid cloning repository directly. Utility is available for download (with required dependencies) on below link https://excelkida.com/resource/tally-mcp-server-v7.6.zip

One-click installer extension for Claude Desktop https://excelkida.com/resource/tally-mcp-server-v7.6.mcpb

Last updated: version 7.6 [04-Sep-2026]

Refer docs/CHANGELOG.md for details

Supported Platform

Implementation was tested on below AI platform

PlatformLocalRemote
Claude AI:heavy_check_mark::heavy_check_mark:
ChatGPT:heavy_check_mark:
Grok:heavy_check_mark:

Setup (Local)

This mode of setup is to be used when MCP Client (like Claude Desktop, Perplexity etc.) and Tally Prime both exists in local PC. MCP Client software itself runs the MCP Server internally in such scenario.

Simply download & extract zip file somewhere on the disk. Assuming that we downloaded & extracted zip file on below path (folder)

D:\Software\Tally MCP Server

A sample setup for few popular tools is demonstrated.

Claude Desktop

Desktop version of Claude AI supports loading of local MCP server. Ensure you have Pro / Team / Max / Enterprise subscription of Claude, which supports higher limit compared to Free. MCP makes multiple calls to Tally for validation and inference, which might exhaust free limits quickly. Download Claude Desktop from following link claude.ai/download

One-click installation (via Extension)

Go to menu > File > Settings

Extensions > Advance Settings

Click on install extension button

Browse the extension file (with file extension mcpb) download at the start

A dialog window will appear asking Do you want to install Tally Prime? click Install button, which would install the Tally MCP Server

Installation via Config file (via Developer menu)

Go to menu > File > Settings > Developer

This will open My Computer window. Right click and edit claude_desktop_config.json file (via Notepad) with as below JSON

json
{
  "mcpServers": {
	  "Tally Prime": {
		  "command": "node",
		  "args": ["D:\\Software\\Tally MCP Server\\dist\\index.mjs"]
	  }
  }
}

Note: single slash in folder path needs to be substituted with double slash

Save the file. Close Claude Desktop (menu > File > Exit) and again re-launch it.

Verify by clicking on Tools button and check if Tally Prime appears in the list (screenshot below)

Perplexity Desktop

Perplexity Desktop version for MacOS supports connecting to local MCP server. Configuration file (JSON format) is same as demonstrated for Claude Desktop. In absense of MacBook, documentation with screenshot could not be written. Kindly refer to below blog on perplexity website, which explains the steps.

Perplexity Desktop MCP Connectivity

Setup (Cloud)

This mode of setup is to be used, when using browser-based MCP client like ChatGPT, Claude AI, Copilot, OR mobile-based app for these LLM which cannot access Tally Prime running inside local PC. In this scenario, MCP Server needs to run as web-server, internally connected to Tally securely. Setup is quite complicated, and is covered in detail in docs folder of this project.

Available Tools

This server currently exposes 19 MCP tools.

metadata-collection

Returns metadata for supported collections.

Input No input.

Output JSON array with objects containing:

  1. collection
  2. description

query-option-values

Returns predefined option values used by input fields.

Input

ArgumentDescription
optionNameSupported: country-state

Output JSON array of option values for the selected option name.

metadata-fields

Returns field metadata for a selected collection.

Input

ArgumentDescription
collectionCollection name. Use metadata-collection to discover valid values

Output JSON array of field metadata containing field name, description (if any), and normalized datatype (string, number, date, boolean).

query-database

Runs SQL query on in-memory pglite tables previously created by reporting tools.

Input

ArgumentDescription
sqlSELECT query only
outputFormatOne of JSON Array of Objects, JSON with Schema and Rows, CSV, Markdown Table. Default is JSON Array of Objects which is preferred format

Output Query result in tab-separated text format.

query-collection

Queries a Tally collection for selected fields and caches output in an in-memory table.

Input

ArgumentDescription
collectionCollection name
fieldsArray of field names to fetch
targetCompany (optional)Company name (defaults to active company)
fromDate (optional)Date in YYYY-MM-DD
toDate (optional)Date in YYYY-MM-DD

Output JSON: { "tableID": "..." }

list-master

Fetches list of masters for validation and auto-completion.

Input

ArgumentDescription
targetCompany (optional)Company name (defaults to active company)
collectionOne of: group, ledger, vouchertype, unit, godown, stockgroup, stockitem, costcategory, costcentre, attendancetype, company, currency, gstin, gstclassification
containsFilter (optional)filter to apply CONTAINS operation to restrict values

Output JSON: { "list": [ ... ] }

chart-of-accounts

Extracts Chart of Accounts (or Group hierarchy) useful for preparing Balance Sheet, Profit and Loss, Trial Balance

Input

ArgumentDescription
targetCompany (optional)Company name (defaults to active company)

Output JSON: { "tableID": "..." } with columns:

  1. ledger_name
  2. group_name
  3. primary_group
  4. bs_pl (boolean) [true = Profit & Loss / false = Balance Sheet]
  5. dr_cr (boolean) [true = Debit / false = Credit]
  6. affects_gross_profit (boolean) [true = Affects Gross Profit / false = Does not affect Gross Profit]
  7. sort_position (number)

trial-balance

Fetches trial balance for period.

Input

ArgumentDescription
targetCompany (optional)Company name (defaults to active company)
fromDateDate in YYYY-MM-DD
toDateDate in YYYY-MM-DD
group_name (optional)Filter by group name

Output JSON: { "tableID": "..." } with columns:

  1. ledger_name
  2. group_name
  3. opening_balance (number) [negative = Debit / positive = Credit]
  4. net_debit
  5. net_credit
  6. closing_balance (number) [negative = Debit / positive = Credit]

profit-loss

Fetches profit and loss data for period.

Input

ArgumentDescription
targetCompany (optional)Company name (defaults to active company)
fromDateDate in YYYY-MM-DD
toDateDate in YYYY-MM-DD

Output JSON: { "tableID": "..." } with columns:

  1. ledger_name
  2. group_name
  3. closing_balance (number) [negative = Debit / positive = Credit]

balance-sheet

Fetches balance sheet data for period.

Input

ArgumentDescription
targetCompany (optional)Company name (defaults to active company)
fromDateDate in YYYY-MM-DD
toDateDate in YYYY-MM-DD

Output JSON: { "tableID": "..." } with columns:

  1. ledger_name
  2. group_name
  3. closing_balance (number) [negative = Debit / positive = Credit]

stock-summary

Fetches stock item summary for period.

Input

ArgumentDescription
targetCompany (optional)Company name (defaults to active company)
fromDateDate in YYYY-MM-DD
toDateDate in YYYY-MM-DD
stockGroup (optional)Filter by stock group name

Output JSON: { "tableID": "..." } with columns:

  1. stock_item_name
  2. stock_group_name
  3. opening_quantity (number)
  4. opening_value (number) [negative = Debit / positive = Credit]
  5. inward_quantity (number)
  6. inward_value (number)
  7. outward_quantity (number)
  8. outward_value (number)
  9. closing_quantity (number)
  10. closing_value (number) [negative = Debit / positive = Credit]

ledger-balance

Returns ledger closing balance as on date.

Input

ArgumentDescription
targetCompany (optional)Company name (defaults to active company)
ledgerNameExact ledger name
toDateDate in YYYY-MM-DD

Output JSON: { "amount": number } where negative = Debit and positive = Credit.

stock-item-balance

Returns stock item closing quantity as on date.

Input

ArgumentDescription
targetCompany (optional)Company name (defaults to active company)
itemNameExact stock item name
toDateDate in YYYY-MM-DD

Output JSON: { "quantity": number, "unit_of_measurement": string } when found.

bills-outstanding

Fetches receivable/payable bill-wise outstanding as on date.

Input

ArgumentDescription
targetCompany (optional)Company name (defaults to active company)
naturereceivable or payable
toDateDate in YYYY-MM-DD

Output JSON: { "tableID": "..." } with columns:

  1. bill_date
  2. reference_number
  3. outstanding_amount
  4. party_name
  5. overdue_days

ledger-account

Fetches ledger account statement for period.

Input

ArgumentDescription
targetCompany (optional)Company name (defaults to active company)
ledgerNameLedger name
fromDateDate in YYYY-MM-DD
toDateDate in YYYY-MM-DD

Output JSON: { "tableID": "..." } with columns:

  1. guid
  2. date
  3. voucher_type
  4. voucher_number
  5. alternate_ledger
  6. party_name
  7. amount (number) [negative = Debit / positive = Credit]
  8. narration

stock-item-account

Fetches stock item account statement for period.

Input

ArgumentDescription
targetCompany (optional)Company name (defaults to active company)
itemNameStock item name
fromDateDate in YYYY-MM-DD
toDateDate in YYYY-MM-DD

Output JSON: { "tableID": "..." } with columns:

  1. date
  2. voucher_type
  3. voucher_number
  4. party_ledger
  5. quantity
  6. amount (number) [negative = Debit / positive = Credit]
  7. narration
  8. tracking_number
  9. voucher_category

ledger-create-update

Creates or updates one or more ledger.

Note: This tool has ability to modify existing ledger. Always backup your Company before instructing this tool.

Input

ArgumentDescription
targetCompany (optional)Company name (defaults to active company)
mastersArray of ledger master objects to create/update

Master ledger object accepts following

PropertyDescription
nameLedger name or New Ledger name (during update)
_nameExisting ledger name
parentGroup under which ledger would exists
openingBalance(optional) Opening Balance of the Ledger
isBillWise(optional) flag to set Bill-by-Bill referencing
billCreditPeriod(optional) Credit Period for bill in days
mailingDetails(optional) Business Name for mailing purpose, country, state, pincode, address
gstRegistrationDetails(optional) GST registration details like GST Number, Registration Type, Place of Supply (state)

Output JSON result returned by import operation (success/failure details).

delete-master

Delete one (or more) masters from Tally

Input

ArgumentDescription
targetCompany (optional)Company name (defaults to active company)
collectionType of master or collection to delete. One of: group, ledger, vouchertype, unit, godown, stockgroup, stockitem, costcategory, costcentre, attendancetype, company, currency, gstin, gstclassification
namearray of name(s) of master to be deleted

Output JSON result returned by delete operation (count of deleted, skipped, etc).

set-company

Sets active company context in Tally Prime.

Input

ArgumentDescription
companyNameCompany name to activate

Output JSON string: "OK" on success.

set-period

Sets active reporting period context in Tally Prime.

Input

ArgumentDescription
fromDateStart date in YYYY-MM-DD
toDateEnd date in YYYY-MM-DD

Output JSON string: "OK" on success.

Environment Variables

End-users are free to hard-code few settings which needs to be applied

VariableDescription
TALLY_PORTPort Number of XML Server of Tally (optional, default is 9000)
TALLY_HOSTHost name or IP where XML Server is running (optional, default is localhost)
BLOCK_WRITEControls if MCP completely block access of write functionality. Setting this flag to value 1 will completely hide write functionality tools from the tool list. [ 0 = Allow , 1 = Block ] (optional, default is 0 i.e. allowed). Not applicable for Claude Desktop (as it offers graphical switch to disable write functionality)
PORTTally MCP Server port number. Applicable only if Tally Prime MCP Server is deployed as Remote MCP server (optional, default is 3000). Not applicable for Claude Desktop
MCP_DOMAINDomain name of Tally MCP Server website (optional, default is https://localhost:9000). Not applicable for Claude Desktop
PASSWORDPassword for the OAuth Login front-end page to authenticate genuine user (kindly set this to some complex password default is password). Not applicable for Claude Desktop

Contact

Project developed & maintained by: Dhananjay Gokhale

Email: info@excelkida.com Whatsapp: (+91) 90284-63366

Installatioun

TypingMind
Viraussetzungen:

Node.js 18+

{
  "mcpServers": {
    "dhananjay1405-tally-mcp-server": {
      "command": "",
      "args": []
    }
  }
}

Tally Prime MCP 服务器 MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Tally Prime MCP 服务器 verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Tally Prime MCP 服务器 als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Tally Prime MCP 服务器 an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "dhananjay1405-tally-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "tally-mcp-server"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Tally Prime MCP 服务器. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Tally Prime MCP 服务器.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Tally Prime MCP 服务器?
Tally Prime MCP 服务器
Jo. Ech hunn et gelies.
Dat hunn ech mat Tally Prime MCP 服务器 fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Tally Prime MCP 服务器 benotzt?

Tally Prime MCP 服务器 ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Tally Prime MCP 服务器 MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Tally Prime MCP 服务器 mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Tally Prime MCP 服务器 MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Tally Prime MCP 服务器 verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Tally Prime MCP 服务器 MCP mat TypingMind?

Tally Prime MCP 服务器 leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Tally Prime MCP 服务器 MCP an TypingMind zur Verfügung?

Tally Prime MCP 服务器 stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Tally Prime MCP 服务器 MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Tally Prime MCP 服务器 eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇