Skip to main content

MCP server for TallyPrime integration

Project description

Tally MCP

MCP server that bridges AI assistants (Claude, etc.) to TallyPrime accounting software via XML-over-HTTP.

40 tools covering financial reports, master data, voucher creation, bulk imports, and more.

Quick Start

Local (single user, same machine as Tally)

uvx tally-mcp

Or add to your MCP client config (.mcp.json):

{
  "mcpServers": {
    "tally": {
      "command": "uv",
      "args": ["run", "tally-mcp"],
      "env": { "TALLY_MCP_TALLY_PORT": "9000" }
    }
  }
}

Remote (team access)

On the Tally machine:

pip install tally-mcp
tally-mcp --http

Then expose via Cloudflare Tunnel, distribute scoped tokens to team members. See the remote setup guide.

Prerequisites

  • Python 3.11+
  • TallyPrime with server mode enabled (F12 > Connectivity > port 9000)
  • At least one company open in TallyPrime

What you can do

Once connected, ask your AI assistant questions like:

"Show me the trial balance for March 2026"
"Give me monthly sales by customer for FY 2025-26"
"Who owes us money?"
"What's the P&L for this quarter?"
"Create a sales invoice for Acme Corp, 50,000, dated March 15"

Tools (40)

Category Count Examples
Reports 13 Trial Balance, P&L, Balance Sheet, Sales/Purchase Register, Receivables, Payables, Day Book, Sales by Party
Masters (read) 7 List ledgers, groups, stock items, voucher types
Masters (write) 4 Create/alter ledgers, groups, stock items
Vouchers 2 Create and cancel vouchers (Sales, Purchase, Payment, Receipt, Journal, Contra, Credit/Debit Note)
Bulk 5 Bulk create from JSON/CSV, custom XML queries
Onboarding 4 Discover companies, configure multi-company routing
Auth 3 Generate/cycle/list scoped tokens
Utility 2 Health check, heartbeat

See docs/tools.md for the full reference.

Key Features

  • Multi-company support — configure multiple businesses with date-based routing
  • Scoped access tokens — per-company tokens for team access control
  • Sales by party — single-call party x month grid (no per-customer API calls)
  • Dual transport — stdio (local) or streamable-http (remote)
  • Inline TDL — custom collection queries for advanced report extraction

Documentation

Topic Link
Setup (local) docs/guide/setup-local.md
Setup (remote/team) docs/guide/setup-remote.md
Managing access docs/guide/managing-access.md
Adding companies docs/guide/adding-companies.md
Common queries docs/guide/common-queries.md
Tool reference docs/tools.md
Configuration docs/configuration.md
Architecture docs/architecture.md

Development

git clone https://github.com/proceduretech/pro-tally-mcp.git
cd pro-tally-mcp
make setup    # creates venv + installs editable with dev deps
make test     # run unit tests
make dev      # start dev server

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tally_mcp-0.2.0.tar.gz (386.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tally_mcp-0.2.0-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

Details for the file tally_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: tally_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 386.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for tally_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8f5b6763240ba5008595c863ec999f9525b64b54f40b79e2dafe73f2c29995f0
MD5 959e5dbfe2693cad8d155f58a3f059c7
BLAKE2b-256 786e731fb2c54d208aee5e5c72855f0e127f9002024d4a5be968aaa324f0b870

See more details on using hashes here.

File details

Details for the file tally_mcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: tally_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 35.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for tally_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b65f518ad9d8ae06ac774ebef253cb1e8c8716ddc6582c091aa0afe9634efc0
MD5 bf28300d3bf25e2d8cf76bfc0d613fd5
BLAKE2b-256 e60c612f17fd4ad612ca4099f36229f20a57ce1806b4bad59dd4853d351d26ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page