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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tally_mcp-0.1.1.tar.gz.
File metadata
- Download URL: tally_mcp-0.1.1.tar.gz
- Upload date:
- Size: 382.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b51feb79d20dae677e0ae30f2e98eb90ba26696327904d597f0e6439ba501a94
|
|
| MD5 |
a578d62846a961693cd422dc647dd0ba
|
|
| BLAKE2b-256 |
9a0db8d8d5a79b38f32d75df4228b64bbd47ea65e4bac0d370f752b0d4307049
|
File details
Details for the file tally_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: tally_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 31.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e87b6c9842c9de76789c78182cbeef65b55cb4bbfd4c677a55344e614d97a44
|
|
| MD5 |
6fe56e54a32d03899dca4828c4a4ca8c
|
|
| BLAKE2b-256 |
d62df684b51770c25e4a1c5870fa6db68e224caaf01aaeed0fcc7f3263bd02c9
|