Browse and list ledger accounts in TallyPrime
tally_list_ledgers retrieves the chart of accounts from TallyPrime including parent groups and current balances, helping AI agents match payees and parties accurately. It is read-only.
Example Prompt for AI Agents (Claude, ChatGPT, Cursor)
List all Sundry Creditors and their current balances.How to Use tally_list_ledgers with AI
Open TallyPrime with your company loaded. Ensure the HTTP/XML connector is enabled on port 9000 (F1 > Settings > Connectivity).
In Claude Desktop, Cursor, or ChatGPT, paste the prompt above or type your request in natural language. The AI agent calls tally_list_ledgers automatically.
The assistant returns deterministically structured data directly in chat. All processing runs locally over loopback; zero telemetry.
tallymcp.proComplete AI client setup instructions →Input Parameters
{
"company": "optional str"
}Expected Output Format
{
"ledgers": "[{name,parent,closing_balance}]"
}Specification & Description
List all ledger accounts, parent groups, and balances in the active company. Use when: chart of accounts, find ledger, party accounts. READ-ONLY.
Frequently Asked Questions
Can it filter by parent group?
Yes, you can filter by Sundry Debtors, Creditors, Bank, or Cash.
Are closing balances included?
Yes, closing balances are extracted deterministically.