Skip the install. Get this working in under 2 minutes.
Start a free trial on cloud.anythingmcp.com, add the TallyPrime in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.
Summary
TallyPrime accounting (Tally Solutions) over its XML/HTTP interface: companies, ledgers, groups, stock items, Trial Balance, Balance Sheet, Profit and Loss, Day Book, ledger statements and outstanding receivables and payables. Read-only.
Try asking
Example prompts for TallyPrime
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 TallyPrime runs on your own computer, so AnythingMCP has to reach it. Run AnythingMCP on the same network (see below), or use cloud.anythingmcp.com with a secure tunnel or VPN to the TallyPrime port. The port has no password: never expose it to the internet without access control.
TallyPrime + Gemini
TallyPrime accounting (Tally Solutions) over its XML/HTTP interface: companies, ledgers, groups, stock items, Trial Balance, Balance Sheet, Profit and Loss, Day Book, ledger statements and outstanding receivables and payables. Read-only.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
TALLY_URL
Step 1 — Get credentials
- In TallyPrime press F1 (Help) → Settings → Connectivity → Client/Server configuration (in older releases Exchange → Data Synchronization). Set TallyPrime acts as to Server (or Both), enable ODBC, keep the port (default 9000) and accept. Restart TallyPrime if asked.
- Open (load) the companies you want to read. Only companies that are open in the running TallyPrime are visible.
- Make the port reachable from AnythingMCP (see Network below) and put the address and port in
TALLY_URL, for examplehttp://192.168.1.20:9000, with nothing after the port. Opening that address in a browser on the same network shows "TallyPrime Server is Running". - Install the connector and run
tallyprime_list_companies. It lists the open companies with their exact names, which every other tool needs.
Network: TallyPrime runs on your own computer or server, so AnythingMCP must be able to reach it. AnythingMCP Cloud cannot reach a LAN address such as 192.168.x.x or 10.x.x.x. Run a self-hosted AnythingMCP on the same network (allowed to reach the TallyPrime host in its outbound address allow list), or publish the port through a secure tunnel or VPN. The Tally port has no password: anyone who can reach it can read and import data, so never open it to the internet without access control in front of it.
Read-only: the AI reads companies, ledgers, groups, voucher types, stock items, the Trial Balance, Balance Sheet, Profit and Loss, Day Book, ledger statements and outstanding receivables and payables. It does not create or change any voucher or master.
Exact values: company, ledger, group and voucher type names must match TallyPrime exactly (for example Sharma & Sons). Dates are YYYYMMDD (20250401), and Indian financial years run 1 April to 31 March: a period outside the company's books returns an empty report. Amounts follow Tally's sign convention: debit negative, credit positive.
Where to start: after tallyprime_list_companies, tallyprime_get_trial_balance gives an overview, tallyprime_get_bills_receivable shows who owes money (it needs bill-wise details enabled on the customer ledgers), tallyprime_get_ledger_vouchers gives one party's statement and tallyprime_get_day_book lists the vouchers of a short period. Large reports over a long period can take several seconds and return a lot of data, so keep ranges to about a month.
Common errors: "Could not set SVCurrentCompany" means the company is not open in TallyPrime or its name differs. When Tally reports a failure, the connector returns it as an error with Tally's own text.
Version 1 does not post vouchers or create and edit ledgers, groups or stock items.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in Gemini
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
Gemini CLI reads MCP servers from ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json). Add:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of
YOUR_MCP_API_KEY. - Save the file and restart
gemini. - Run
/mcpinside Gemini CLI (orgemini mcp listin your shell):anythingmcpshould show as connected. - Start prompting: Gemini CLI can now call the
TallyPrimetools.
Available tools
| Tool | What it does |
|---|---|
tallyprime_list_companies | List the companies currently open (loaded) in TallyPrime with their name, financial year start and books-beginning date |
tallyprime_list_ledgers | List every ledger (accounting head: customers, suppliers, banks, expenses, taxes) of a company with its parent group, opening and closing… |
tallyprime_list_ledgers_in_group | List the ledgers under one group, including its sub-groups, with parent, opening and closing balance |
tallyprime_get_ledger | Get one ledger master: parent group, opening and closing balance, mailing name, address, state, PIN code, country, phone, mobile and e-mail |
tallyprime_list_groups | List the account groups of a company (the chart of accounts) with each group's parent |
tallyprime_list_voucher_types | List the voucher types of a company (Sales, Purchase, Receipt, Payment, Journal, Contra, Credit Note, Debit Note and any custom ones) with… |
tallyprime_list_stock_items | List the stock items of a company with stock group, base unit, opening quantity and value, and closing quantity and value for the current… |
tallyprime_get_trial_balance | Get the Trial Balance for a period, exploded down to ledgers: closing debit and credit balance per group and ledger |
tallyprime_get_balance_sheet | Get the Balance Sheet as at the end of a period: liabilities and assets by primary group with their closing amounts |
tallyprime_get_profit_and_loss | Get the Profit and Loss account for a period: income and expenses by group (sales, purchases, direct and indirect expenses and incomes) and… |
tallyprime_get_day_book | Get the Day Book: every voucher entered in a period with date, voucher type, number, party, narration, ledger entries and amounts, and… |
tallyprime_get_day_book_by_type | Get the vouchers of one voucher type in a period (for example only Sales or only Receipt vouchers) with full ledger entries and amounts |
tallyprime_get_ledger_vouchers | Get the ledger account (statement) of one ledger for a period: opening balance, every voucher posted to it with date, type, number, counter… |
tallyprime_get_bills_receivable | Get outstanding receivables: every open sales bill with bill date, reference, party, pending amount, due date and days overdue |
tallyprime_get_bills_payable | Get outstanding payables: every open purchase bill with bill date, reference, party, pending amount, due date and days overdue |
tallyprime_get_ledger_outstandings | Get the open bills of one party ledger: bill date, reference, opening and pending amount, due date and days overdue |
tallyprime_get_group_outstandings | Get the outstanding balance of every ledger in one group, e.g. all customers under Sundry Debtors or all suppliers under Sundry Creditors… |
Example prompts
- "Show the Trial Balance of our company for September 2026 and point out any unusual balances."
- "Which customers owe us money, and which of their bills are more than 60 days overdue?"
- "Give me the ledger statement of Sharma & Sons for last month with the closing balance."
- "List all Sales vouchers entered last week with the party and amount of each."
FAQ
Where does Gemini CLI look for MCP servers? In ~/.gemini/settings.json for your user, or in .gemini/settings.json inside a project. gemini mcp list shows each server and whether it connects.
Next steps
Was this guide helpful?