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.1.2.tar.gz (382.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.1.2-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tally_mcp-0.1.2.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

Hashes for tally_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0745fca21ef3efb8eec933d4cced92ba9ddd9bf53f5778ab162250465870f05c
MD5 6fb82a3bdaa4ef4830645ee2dda8fb5d
BLAKE2b-256 1efd9174514eafbf15059bcfd9bc4a4fe293b01a00807d9b6426dd33d474b047

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tally_mcp-0.1.2-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

Hashes for tally_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f78b701682a243f5cd2674fb5535b536ae88ce71b91dbc9942c12fa47c0a6dc8
MD5 8a09e61e3e671cb490e9a3ea62777303
BLAKE2b-256 e8b7435c844677c0455b3684a0cbc0d69e511de6b9eaf4c905d54de52c3acdb3

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