Skip to main content

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

Metadata

Release files for tally-mcp 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tally-mcp 0.2.0
File Size Uploaded Provenance Actions
tally_mcp-0.2.0.tar.gz 386.1 kB Without provenance Details for tally_mcp-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tally-mcp 0.2.0
File Interpreter ABI Platform Actions
tally_mcp-0.2.0-py3-none-any.whl Python 3 none any Details for tally_mcp-0.2.0-py3-none-any.whl

Total release size: 421.1 kB

Release files / tally_mcp-0.2.0.tar.gz

Download URL tally_mcp-0.2.0.tar.gz
Size 386.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8f5b6763240ba5008595c863ec999f9525b64b54f40b79e2dafe73f2c29995f0
BLAKE2b-256 checksum
How to use checksums
786e731fb2c54d208aee5e5c72855f0e127f9002024d4a5be968aaa324f0b870
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / tally_mcp-0.2.0-py3-none-any.whl

Download URL tally_mcp-0.2.0-py3-none-any.whl
Size 35.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b65f518ad9d8ae06ac774ebef253cb1e8c8716ddc6582c091aa0afe9634efc0
BLAKE2b-256 checksum
How to use checksums
e60c612f17fd4ad612ca4099f36229f20a57ce1806b4bad59dd4853d351d26ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Security for tally-mcp 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page