インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、TallyPrime をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
TallyPrime(Tally Solutions)の会計データを XML/HTTP インターフェース経由で読み取ります。会社、元帳(Ledger)、グループ、在庫品目、Trial Balance、Balance Sheet、Profit and Loss、Day Book、元帳の明細、未決済の売掛金と買掛金に対応します。読み取り専用です。
こう聞いてみよう
TallyPrime のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 TallyPrime はお使いのコンピューター上で動くため、AnythingMCP からそこへ接続できる必要があります。 AnythingMCP を同じネットワーク内で動かすか(下記参照)、cloud.anythingmcp.com を使って TallyPrime のポートまで安全なトンネルまたは VPN を通してください。このポートにはパスワードがないため、アクセス制御なしでインターネットに公開しないでください。
TallyPrime + Gemini
TallyPrime(Tally Solutions)の会計データを XML/HTTP インターフェース経由で読み取ります。会社、元帳(Ledger)、グループ、在庫品目、Trial Balance、Balance Sheet、Profit and Loss、Day Book、元帳の明細、未決済の売掛金と買掛金に対応します。読み取り専用です。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
TALLY_URL
ステップ 1 — 認証情報を取得
- TallyPrime で F1 (Help) → Settings → Connectivity → Client/Server configuration を開きます(旧リリースでは Exchange → Data Synchronization)。TallyPrime acts as を Server(または Both)にし、ODBC を有効にして、ポート(既定は 9000)はそのままで確定します。再起動を求められたら TallyPrime を再起動します。
- 読み取りたい会社を開きます(ロードします)。見えるのは、起動中の TallyPrime で開いている会社だけです。
- AnythingMCP からポートに接続できるようにし(下の ネットワーク を参照)、アドレスとポートを
TALLY_URLに入力します。例:http://192.168.1.20:9000。ポートの後ろには何も付けません。同じネットワーク内のブラウザーでこのアドレスを開くと、"TallyPrime Server is Running" と表示されます。 - コネクターをインストールし、
tallyprime_list_companiesを実行します。開いている会社が正確な名前付きで一覧表示されます。この名前はほかのすべてのツールで必要です。
ネットワーク: TallyPrime はお使いのコンピューターやサーバー上で動くため、AnythingMCP からそこへ接続できる必要があります。AnythingMCP Cloud は 192.168.x.x や 10.x.x.x のような LAN アドレスには接続できません。同じネットワーク内でセルフホストの AnythingMCP を動かす(外部接続先の許可リストで TallyPrime のホストを許可しておきます)か、安全なトンネルまたは VPN でポートを公開してください。Tally のポートにはパスワードがありません。接続できる人は誰でもデータを読み取り、インポートできるため、アクセス制御を前段に置かずにインターネットへ公開しないでください。
読み取り専用です: AI が読み取るのは、会社、元帳、グループ、伝票タイプ、在庫品目、Trial Balance、Balance Sheet、Profit and Loss、Day Book、元帳の明細、未決済の売掛金と買掛金です。伝票やマスターの作成、変更は行いません。
正確な値: 会社、元帳、グループ、伝票タイプの名前は TallyPrime の表記と完全に一致させる必要があります(例: Sharma & Sons)。日付は YYYYMMDD 形式(20250401)で、インドの会計年度は 4 月 1 日から 3 月 31 日までです。会社の帳簿の範囲外の期間を指定すると、空のレポートが返ります。金額は Tally の符号規則に従い、借方がマイナス、貸方がプラスです。
最初に使うツール: tallyprime_list_companies の後、tallyprime_get_trial_balance で全体を把握し、tallyprime_get_bills_receivable で誰に未収金があるかを確認し(顧客の元帳で請求書ごとの明細が有効になっている必要があります)、tallyprime_get_ledger_vouchers で取引先 1 社の明細を、tallyprime_get_day_book で短い期間の伝票を取得します。長い期間の大きなレポートは数秒かかり、データ量も多くなるため、期間はおよそ 1 か月にとどめてください。
よくあるエラー: "Could not set SVCurrentCompany" は、その会社が TallyPrime で開かれていないか、名前が違うことを意味します。Tally が失敗を返した場合、コネクターは Tally のメッセージをそのまま付けてエラーとして返します。
バージョン 1 は、伝票の記帳や、元帳、グループ、在庫品目の作成や編集は行いません。
ステップ 2 — アダプターをインストール
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
ステップ 3 — Gemini にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
Gemini CLI は ~/.gemini/settings.json(Windows では %USERPROFILE%\.gemini\settings.json)から MCP サーバーを読み込みます。次を追加してください:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- AnythingMCP の MCP Servers → 対象のサーバー → API keys で MCP API キーを作成し、
YOUR_MCP_API_KEYと置き換えます。 - ファイルを保存し、
geminiを再起動します。 - Gemini CLI で
/mcpを実行します(またはシェルでgemini mcp list)。anythingmcpが接続済みとして表示されるはずです。 - プロンプトを入力しましょう。Gemini CLI が
TallyPrimeのツールを呼び出せるようになりました。
利用可能なツール
| 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… |
プロンプトの例
- 「当社の 2026 年 9 月の Trial Balance を表示し、気になる残高があれば指摘してください。」
- 「未収金がある顧客はどこですか。そのうち 60 日を超えて期限を過ぎている請求書はどれですか。」
- 「Sharma & Sons の先月の元帳明細を、期末残高と一緒に見せてください。」
- 「先週入力された Sales 伝票をすべて、取引先と金額付きで一覧にしてください。」
FAQ
Gemini CLI はどこから MCP サーバーを読み込みますか? ユーザー単位では ~/.gemini/settings.json、プロジェクト単位ではプロジェクト内の .gemini/settings.json です。gemini mcp list で各サーバーと接続状態を確認できます。
次のステップ
このガイドは役に立ちましたか?