L'Atlas / MCP servers / Tokenbooks - crypto and fiat accounting and payments
MCP server

Tokenbooks - crypto and fiat accounting and payments

io.tokenbooks/tokenbooks

MCP server OK 37 tools

Get a review See pricing

Crypto and fiat on one double-entry ledger: sync wallets, reconcile, cost basis, audit-ready close.

Technical sheet

Author
tokenbooks.io (registry namespace)
Repository
—
Site
tokenbooks.io/use-cases/ai-accounting
Version
0.1.1
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://api.tokenbooks.io/mcp Streamable HTTP
Tools
37
Categories
Finance and payments, Security
Last updated
17 Sept 2026
Published
17 Sept 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 4 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 28 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.tokenbooks/tokenbooks.svg?lang=en)](https://latlas.dev/en/mcp/io.tokenbooks/tokenbooks)
HTML
<a href="https://latlas.dev/en/mcp/io.tokenbooks/tokenbooks"><img src="https://latlas.dev/badge/statut/mcp/io.tokenbooks/tokenbooks.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.tokenbooks/tokenbooks.svg?lang=en)](https://latlas.dev/en/mcp/io.tokenbooks/tokenbooks)
HTML
<a href="https://latlas.dev/en/mcp/io.tokenbooks/tokenbooks"><img src="https://latlas.dev/badge/fiche/io.tokenbooks/tokenbooks.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://api.tokenbooks.io/mcp
Last result
OK 28 Nov 2026, 08:48
Response time
2,251 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
tokenbooks 0.1.1
Tools
37

History

DateResultResponseTools
28 Nov 2026, 08:48OK2,251 ms37

Exposed tools (37, from tools/list, 28 Nov 2026)

get_server_info

Get Server Info

Review supported blockchains and fiat sources, accounting standards, plans, limits and tier features, signup, connection endpoint, authentication, and exclusions. No credentials needed; use before connecting, evaluating costs or coverage, or debugging a connection.

No parameters.

get_accounting_reference

Get Accounting Reference

Look up valid accounting values—including operation types, transaction statuses, cost-basis methods, and lot event kinds—before classifying or filtering; use the returned exact values instead of guessing.

No parameters.

list_workspaces

List Workspaces

List workspaces available to the authenticated Tokenbooks user, or search by name or slug.

ParameterTypeRequiredDescription
querystringnoOptional workspace name or slug search query

list_portfolios

List Portfolios

List portfolios available in a workspace, or search by name or slug.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
querystringnoOptional portfolio name or slug search query
pageintegernoPage number, starting at 1
limitinteger | stringnoMaximum items to return, maximum 100. Preferred MCP pagination field.
pageSizeinteger | stringnoDeprecated alias for limit, maximum 100. Prefer limit for new MCP calls.

get_portfolio

Get Portfolio

Read one portfolio's settings and accounting policy by exact name or slug, including its financial reporting framework and legal entity type. If legalEntityType is omitted, it is unset.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug

get_portfolio_balances

Get Portfolio Balances

Check whether each wallet's computed token balances match its latest synchronized snapshot; returns per-wallet match status, token count, last transaction time, and an overall match flag.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug

list_accounting_rules

List Accounting Rules

Find saved accounting rules, filter them, or recover the exact ruleRef needed to preview, edit, or delete one rule.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace name or slug. Call list_workspaces to resolve it.
portfolioRefstringyesPortfolio name or slug inside that workspace. Call list_portfolios to resolve it.
searchstringnoFree-text match against rule names.
enabledbooleannoKeep only enabled rules, or only disabled ones. Omit to return both.
actionTypesarray<enum: "SET_COUNTERPARTY" | "SET_LEDGER_ACCOUNT" | "SET_RESPONSIBILITY_CENTERS">noAction types as CSV or repeated query values.
conditionFieldsarray<enum: "fromAddressLabel" | "toAddressLabel" | "fromAddress" | "toAddress" | "direction" | "wallet" | "asset" | "assetClass" …>noCondition fields as CSV or repeated query values.
walletsarray<string>noWallet selectors as chainId:walletAddress values.
accountNumbersarray<string>noLedger account numbers as CSV or repeated query values.
counterpartyNamesarray<string>noCounterparty names as CSV or repeated query values.
assetIdsarray<string>noAsset ids as CSV or repeated query values.
ruleRefstringnoSaved rule handle, from list_accounting_rules.
pageTokenstringnoOpaque token returned by the previous list response.
limitintegernoRequested number of resources to return. Oversized values are clamped to the route limit.

edit_accounting_rules

Edit Accounting Rules

Create, update, enable/disable, reorder, or delete saved accounting rules. Pass preview: true on any of those to see the impact without saving; use operation: current to preview the saved ruleset as it stands. Results report when a scan is truncated.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace name or slug. Call list_workspaces to resolve it.
portfolioRefstringyesPortfolio name or slug inside that workspace. Call list_portfolios to resolve it.
operationenum: "create" | "update" | "set_enabled" | "reorder" | "delete" | "current"yescreate: Create a new rule, or preview creating one (preview: true). update: Change the name, conditions, or actions of an existing rule, or preview the change (preview: true). Provide at least one of name, conditions, action. set_enabled: Turn an existing rule on or off without changing it, or prev…
previewbooleannoWhen true, evaluate the change and return its impact without saving it. Not for operation current.
maxAffectedintegernoPreview only: how many affected transactions to sample, at most 25. affectedCount in the result equals this sample size; check candidateCount for the true total match count.
namestringnoHuman-readable rule name, shown in the rules list. Only for operation create, update; required for operation create.
enabledboolean | booleannoWhether the rule evaluates. A disabled rule is kept but never fires. Only for operation create, set_enabled; required for operation set_enabled.
conditionsobjectnoOnly for operation create, update; required for operation create.
actionobjectnoOnly for operation create, update; required for operation create.
ruleRefstringnoSaved rule handle, from list_accounting_rules. Only for operation update, set_enabled, delete; required for each.
orderedRuleRefsarray<string>noEvery rule handle in the portfolio, in the order they should evaluate. Rules apply in order, so earlier rules win. Only for operation reorder; required for each.

apply_accounting_rules

Apply Accounting Rules

Re-run the current saved rules and default assignments for vendors, people, or organizations (counterparty defaults) across eligible existing accounting transactions; this destructive bulk job ignores unsaved edits, so preview first, then track its requestId with get_request_status.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug

list_wallets

List Wallets

List wallets in a portfolio with sync status and transaction counts. Pass chainId and walletAddress to check one wallet instead — safe codes/messages show whether to retry or reconnect credentials. EVM addresses are normalized; other networks may be case-sensitive.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug
chainIdstringnoOptional chain filter, or with walletAddress
walletAddressstringnoLook up one wallet; requires chainId
pageintegernoPage number, starting at 1
limitinteger | stringnoMaximum items to return, maximum 100. Preferred MCP pagination field.
pageSizeinteger | stringnoDeprecated alias for limit, maximum 100. Prefer limit for new MCP calls.

list_journal_line_assignment_options

List Journal Line Assignment Options

Find ledger accounts, saved counterparties, or responsibility centers (departments or projects) assignable to an accounting entry line.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace name or slug. Call list_workspaces to resolve it.
portfolioRefstringyesPortfolio name or slug inside that workspace. Call list_portfolios to resolve it.
typeenum: "ledger_account" | "counterparty" | "responsibility_center"yesledger_account: Ledger accounts assignable to a journal line. counterparty: Saved vendors, people, or organizations assignable to a journal line. responsibility_center: Departments, projects, or other reporting groups (responsibility centers) assignable to a journal line.
searchstringnoFilter by name (also matches account number for ledger accounts)
pageintegernoPage number, starting at 1 Only for type counterparty.
limitintegernoMaximum items to return, maximum 100. Preferred MCP pagination field. Only for type counterparty.
pageSizeintegernoDeprecated alias for limit, maximum 100. Prefer limit for new MCP calls. Only for type counterparty.

edit_transaction

Edit Transaction

Create manual source transactions (signed wallet movements; duplicate hashes refused; accounting asynchronous), or change one accounting transaction: memo/tags/type, journal lines or unit fair market value. Read line numbers/list_journal_line_assignment_options first. Track requestIds or waitForCompletion for fields/FMV edits.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace name or slug. Call list_workspaces to resolve it.
portfolioRefstringyesPortfolio name or slug inside that workspace. Call list_portfolios to resolve it.
operationenum: "create_manual" | "update_fields" | "update_journal_line" | "set_fmv_override"yescreate_manual: Create manual sources. update_fields: Edit memo/tags/type. update_journal_line: Assign journal line. set_fmv_override: Override unit FMV.
walletobjectnoOnly for operation create_manual; required for each.
transactionsarray<object>novalueQuote: signed TOTAL FMV, not unit price Only for operation create_manual; required for each.
transactionIdstringnoPortfolio transaction ID Only for operation update_fields, update_journal_line, set_fmv_override; required for each.
memostring | nullnoNew memo; pass null to clear it Only for operation update_fields.
tagsarray<string>noReplace ALL tags. Only for operation update_fields.
operationTypeenum: "DEPOSIT_FIAT" | "INCOME" | "REFUND" | "REBATE" | "WITHDRAWAL_FIAT" | "EXPENSE" | "BUY" | "SELL" …noNew accounting operation type Only for operation update_fields.
subTypestringnoNew operation sub-type (requires operationType) Only for operation update_fields.
waitForCompletionbooleannoWait for final state. Only for operation update_fields, set_fmv_override.
timeoutMsintegernoWait ms; default 30000. Only for operation update_fields, set_fmv_override.
pollIntervalMsintegernoPoll ms; default 500. Only for operation update_fields, set_fmv_override.
lineNumberintegernoJournal entry line number (1-based) Only for operation update_journal_line; required for each.
accountNumberstringnoAccount number from list_journal_line_assignment_options (ledger_account). Only for operation update_journal_line.
counterpartyNamestring | nullnoCounterparty name to assign; pass null to unset Only for operation update_journal_line.
responsibilityCenterAssignmentsarray<object>noReplace assignments, one per dimension; [] clears all. Keys/names: list_journal_line_assignment_options (responsibility_center). Only for operation update_journal_line.
assetIdstringnoAsset ID from read tools (e.g. eth_1). Only for operation set_fmv_override; required for each.
newValueQuotestringnoExact unit price in base currency. Only for operation set_fmv_override; required for each.
quoteSourcestringnoPrice source/reason. Only for operation set_fmv_override.
quoteCurrencystringnoCurrency; default base currency. Only for operation set_fmv_override.
reasonstringnoImmutable root reason whose nonempty bytes are preserved exactly; use ptx: for transaction references Only for operation set_fmv_override.

import_adjustment_journals

Import Adjustment Journals

Preview or post a complete CSV or XLSX file of balanced manual adjustment journals for one portfolio. Preview first; post only after reviewing every blocking issue, then resend the unchanged source with its preview token and any resolutions.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace name or slug. Call list_workspaces to resolve it.
portfolioRefstringyesPortfolio name or slug inside that workspace. Call list_portfolios to resolve it.
actionenum: "preview" | "post"yespreview: Parse the file and report what it would import, writing nothing. Always preview before posting. post: Commit the import that a preview of the same file produced.
contentBase64stringyesCSV or XLSX source file content as base64-encoded bytes (max 5 MiB).
fileNamestringyesOriginal CSV or XLSX source filename.
previewTokenstringnoToken returned by the matching preview, proving the file has not changed since. Only for action post; required for each.
resolutionsarray<object | object | object | object>noOnly for action post; required for each.

get_sync_status

Get Sync Status

Check sync health across every wallet in a portfolio. Current activity takes priority over each latest finished result; safe codes and messages tell you whether to retry or reconnect credentials.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug

incremental_sync

Incremental Sync

Pull only recent blockchain and wallet activity while keeping all existing transaction and accounting history; use this routine refresh before reports or when new activity is missing, then track its requestId with get_request_status.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug
walletsarray<object>noOptional exact wallet pairs; omit to sync every wallet in the portfolio

full_resync

Full Resync (DANGER — wipes & rebuilds history)

DANGER: delete and rebuild the selected wallet transaction, journal, and cost-basis history from source data. Use only after the user explicitly requests this destructive reset and accepts the consequences; use incremental_sync for routine new activity.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug
walletsarray<object>noOptional exact wallet pairs; omit to wipe and rebuild every wallet in the portfolio

list_portfolio_transactions

List Portfolio Transactions

Find accounting transactions—called Portfolio Transactions in Tokenbooks—for review or reconciliation; filter by status, type, errors, spam, wallet, or asset, optionally attaching grouped contributing raw source records (10-record page cap). Pass transactionId to explain one transaction in full instead: classification, journal entry, cost-basis links, and (rawWithDetails) its sanitized event logs and contract calls.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace name or slug. Call list_workspaces to resolve it.
portfolioRefstringyesPortfolio name or slug inside that workspace. Call list_portfolios to resolve it.
transactionIdstringnoLook up one transaction by handle instead of listing
limitinteger | stringnoMaximum Portfolio Transactions to return, maximum 100.
pageTokenstringnoOpaque token returned by the previous list response.
sortenum: "timestamp" | "-timestamp"noTimestamp sort. Prefix with - for descending order.
chainIdstringnoPublic wallet chain ID.
walletAddressstringnoPublic wallet address on the selected chain.
chainIdsarray<string>noOptional chain ID filters
fromDatestring | stringnoOptional ISO timestamp lower bound
toDatestring | stringnoOptional ISO timestamp upper bound
statusarray<enum: "PROPOSED" | "ERROR" | "POSTED" | "CLOSED">noFilter by status, e.g. ["POSTED"]
operationTypearray<enum: "DEPOSIT_FIAT" | "INCOME" | "REFUND" | "REBATE" | "WITHDRAWAL_FIAT" | "EXPENSE" | "BUY" | "SELL" …>noFilter by operation type, e.g. ["UNCATEGORIZED"]
subTypearray<string>noFilter by operation sub-type (case-insensitive)
hasErrorbooleannotrue: has a processing error; false: error-free
errorTypearray<string>noFilter by error/warning code, e.g. ["FmvNotAvailable"]
isSpambooleannotrue: transfers involve spam tokens; false: non-spam only
hasJournalEntrybooleannotrue: has a non-empty journal entry; false: does not
hasLotsbooleannotrue: produced cost-basis lots; false: did not
assetRefsarray<string>noFilter by asset symbol (case-insensitive)
defiPositionWalletChainIdstringnoFilter by DeFi position wallet chain ID
defiPositionWalletAddressstringnoFilter by DeFi position wallet address
defiPositionKeystringnoFilter by protocol-defined DeFi position key
txHashstringnoFilter by exact on-chain transaction hash
counterpartyarray<string>noFilter by counterparty name (case-insensitive)
responsibilityCenterTypeKeysarray<string>noFilter by journal-line responsibility-center type key (e.g. primary, goal; from list_journal_line_assignment_options)
searchstringnoFree-text search over memo, tx hash, transaction ID
addressstringnoMatch transfer from/to address (case-insensitive)
minValuestringnoMinimum transfer fiat quote value (inclusive), as a decimal string
maxValuestringnoMaximum transfer fiat quote value (inclusive), as a decimal string
includeenum: "raw" | "rawWithDetails"noInclude grouped contributing raw source transactions; rawWithDetails adds sanitized provider details and requires transactionId

list_raw_transactions

List Raw Transactions

Find compact source transactions first, called Raw Transactions in Tokenbooks, including unprocessed or partially linked activity. Pass rawTransactionId to show how one maps to wallet movements and accounting transactions; add includeDetails for its sanitized event logs and decoded contract calls (untrusted provider evidence).

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace name or slug. Call list_workspaces to resolve it.
portfolioRefstringyesPortfolio name or slug inside that workspace. Call list_portfolios to resolve it.
rawTransactionIdstringnoLook up one source transaction by handle instead of listing
limitinteger | stringnoMaximum raw transaction summaries to return, maximum 100.
pageTokenstringnoOpaque token returned by the previous list response.
fromDatestring | stringnoEarliest transaction timestamp to include, as an ISO 8601 datetime.
toDatestring | stringnoLatest transaction timestamp to include, as an ISO 8601 datetime.
sortenum: "timestamp" | "-timestamp"noTimestamp order. Use timestamp for ascending or -timestamp for descending; defaults to -timestamp.
chainIdsarray<string>noBlockchains to filter by, such as eth-mainnet. Call list_chains for the supported set.
chainIdstringnoBlockchain to filter by, such as eth-mainnet. Call list_chains for the supported set.
walletAddressstringnoWallet to filter by. Supply chainId alongside it.
txHashstringnoExact on-chain transaction hash.
processingStateenum: "PROCESSED" | "PARTIAL" | "UNPROCESSED"noKeep only source transactions in this processing state.
includeSpamTokensbooleannoInclude transactions whose operations contain only spam tokens; defaults to false.
includeDetailsbooleannoWith rawTransactionId, also return blockchain event logs and decoded contract calls

get_filter_options

Get Filter Options

List the available values for one portfolio filter—such as accounts, wallets, assets, transaction status, or warnings—before building a filtered query.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace name or slug. Call list_workspaces to resolve it.
portfolioRefstringyesPortfolio name or slug inside that workspace. Call list_portfolios to resolve it.
filterNameenum: "income-expense-subtypes" | "portfolio-transaction-addresses" | "portfolio-transaction-account-name" | "portfolio-transaction-assets" | "portfolio-transaction-counterparties" | "portfolio-transaction-wallets" | "portfolio-transaction-responsibility-centers" | "portfolio-transaction-lot-presence" …yesPublic filter option provider name.
pageSizeintegernoRequested number of resources to return. Oversized values are clamped to the route limit. Not for filterName capital-gains-assets, income-expense-assets, accounts, portfolio-transaction-period, payment-request-coding.
pageTokenstringnoOpaque token returned by the previous list response. Not for filterName capital-gains-assets, income-expense-assets, accounts, portfolio-transaction-period, payment-request-coding.
searchstringnoOptional case-insensitive text search applied by the provider to labels, addresses, names, or other provider-owned searchable fields. Not for filterName capital-gains-assets, income-expense-assets, accounts, portfolio-transaction-period, payment-request-coding.
selectedstring | array<string>noAlready-selected option values for selected-value hydration from URL filter state. A single HTTP query value is accepted as a one-element array. Not for filterName capital-gains-assets, income-expense-assets, accounts, portfolio-transaction-period, payment-request-coding.
modeenum: "from" | "to"noAddress side to inspect for portfolio-transaction-addresses. Required for address filters. Use from for source addresses and to for destination addresses. Only for filterName portfolio-transaction-addresses; required for each.
isSpambooleannoFilter assets by effective portfolio spam classification, including portfolio token preferences. Selected-value hydration retains its classification metadata. Only for filterName portfolio-transaction-assets.
reportTypeenum: "profit-and-loss" | "income-expense"noCount effective counterparties from this report, including address matches. Omit to count stored journal assignments for portfolio transactions. Only for filterName portfolio-transaction-counterparties.
filterstringnoHuman-readable Portfolio Transactions filter expression. Only for filterName portfolio-transaction-status-counts.

get_portfolio_issue_summary

Get Portfolio Issue Summary

Summarize accounting problems that need review with exact counts for uncategorized, errored, and spam-related transactions, plus examples of uncategorized and errored transactions.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug

confirm_transaction

Confirm Portfolio Transaction

Post a proposed accounting transaction to the books; this queued action returns a requestId.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug
transactionIdstringyesPortfolio transaction ID

reprocess_transaction

Reprocess Portfolio Transaction

Recalculate one accounting transaction after correcting its inputs; this destructive queued job may regroup only its assigned wallet movements, and waitForCompletion can return the final state.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace name or slug
portfolioRefstringyesPortfolio name or slug
transactionIdstringyesSelected portfolio transaction ID to reprocess
reasonstringnoOptional immutable root reason; nonempty bytes are preserved exactly
waitForCompletionbooleannoWait for the queued reprocess request to reach a terminal state before returning
timeoutMsintegernoMaximum wait time in milliseconds
pollIntervalMsintegernoRequest-status polling interval in milliseconds

preview_transaction_classification

Preview Transaction Classification

Preview how selected wallet movements would be grouped and labeled as accounting transactions. Returns every proposal in order and saves nothing.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace name or slug. Call list_workspaces to resolve it.
portfolioRefstringyesPortfolio name or slug inside that workspace. Call list_portfolios to resolve it.
operationsarray<object>yesExact transfer-operation handles returned by transaction reads, including the accounting transaction each operation currently belongs to

merge_transactions

Merge Portfolio Transactions

Destructively combine wallet movements from several accounting transactions into one target transaction and reclassify it; preview the grouping first, then track the queued requestId.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug
transactionIdstringyesTarget transaction the operations are merged into
operationsarray<object>yesOperations to merge into the target
operationTypeenum: "DEPOSIT_FIAT" | "INCOME" | "REFUND" | "REBATE" | "WITHDRAWAL_FIAT" | "EXPENSE" | "BUY" | "SELL" …yesAccounting operation type for the merged transaction
subTypestringnoOptional operation sub-type
reasonstringnoOptional immutable root reason. Nonempty bytes are preserved exactly; use ptx: for transaction references.

split_transactions

Split Portfolio Transaction

Destructively move selected whole existing operation handles unchanged out of one accounting transaction into a new classified transaction; use this only when the needed economic legs already exist as operation handles. It cannot divide one transfer amount into new economic legs: repair sync normalization or use a supported persisted replacement lifecycle for a missing leg. Preview the grouping first, then track the queued requestId.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug
transactionIdstringyesSource transaction to split operations out of
operationsarray<object>yesWhole existing operation handles to move unchanged into a new transaction; do not use this to divide one normalized transfer amount into new economic legs
operationTypeenum: "DEPOSIT_FIAT" | "INCOME" | "REFUND" | "REBATE" | "WITHDRAWAL_FIAT" | "EXPENSE" | "BUY" | "SELL" …yesAccounting operation type for the new transaction
subTypestringnoOptional operation sub-type
reasonstringnoOptional immutable root reason. Nonempty bytes are preserved exactly; use ptx: for transaction references.

mark_token_spam

Mark Token as Spam

Mark or unmark a token as spam so unwanted dust or airdrops are excluded from accounting and existing records are updated; this queued action defaults to marking spam and returns a requestId.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug
chainIdstringyesChain ID of the token (from a walletOperation)
tokenAddressstringyesToken contract address (from a walletOperation)
isSpambooleannoSpam flag to set (default true; false unmarks)
reasonstringnoOptional immutable root reason. Nonempty bytes are preserved exactly; use ptx: for transaction references.

simulate_fiat_quote

Simulate Fiat Payout Quote

Estimate exchange rates, processing fees, amount received, and corridor limits for a bank payout before sending money; compare supported rails such as ACH, SEPA, EFT, FPS, IMPS, or SWIFT.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug
networkenum: "SWIFT" | "ACH" | "SEPA" | "FPS" | "EFT" | "FAST" | "CHATS" | "KFTC" …yesFiat payout rail / bank method
receivingAmountstringyesAmount the recipient should receive, as a decimal string in the receiving currency (e.g. "500000")
receivingCurrencystringnoISO 4217 receiving currency; defaults to the network default
recipientBankCountrystringnoISO 3166-1 alpha-2 recipient bank country; defaults to the network default
senderCurrencyenum: "USDC" | "USDT" | "USDe"noStablecoin funding the payout (default USDC)
purposeOfPaymentenum: "payment_for_goods" | "payment_for_business_services" | "payment_for_salary_or_benefits" | "capital_investment_or_item" | "other"noPurpose-of-payment classification

get_journal_entry

Get Journal Entry

Read every debit and credit line in one journal entry—the detailed accounting record—and trace each line to its cost-basis records and blockchain movements.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug
journalEntryIdstringyesJournal entry ID

get_lot_ledger

Get Cost-Basis Lot Ledger

Trace paginated cost-basis acquisition, disposal, transfer, and adjustment history across a portfolio, optionally narrowed by asset, wallet, event kind, accounting transaction, or date.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug
assetRefstringnoDeprecated compatibility selector for asset symbol or asset id. Prefer filter=asset_id.
filterstringnoPublic AIP-160 filter string. Supported fields: id lot identifier (=, !=, in, not in), entry_id ledger-row identifier (=, !=, in, not in), asset_id (=, !=, in, not in), asset_spam (= true or false), entry_kind (=, !=, in, not in), wallet (=, !=, in, not in using chainId:address), portfolio_transact…
sortstringnoSingle public sort field. Prefix with - for descending. Supported fields: timestamp, diff, value, price
chainIdstringnoExact chain ID when filtering to one wallet; requires walletAddress
walletAddressstringnoExact case-sensitive wallet address when filtering to one wallet; requires chainId
entryKindarray<enum: "ADD" | "DSP" | "CUT" | "MVE" | "RES" | "REL">noFilter by lot entry kind (any of)
fromDatestringnoOptional ISO timestamp lower bound
toDatestringnoOptional ISO timestamp upper bound
pageintegernoPage number, starting at 1
limitinteger | stringnoMaximum items to return, maximum 100. Preferred MCP pagination field.
pageSizeinteger | stringnoDeprecated alias for limit, maximum 100. Prefer limit for new MCP calls.

request_report_export

Request Report Export

Queue a spreadsheet, PDF, or JSON accounting report—such as profit and loss, trial balance, balance sheet, journal, or transaction export—for a reporting period; track the returned requestId with get_request_status.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug
reportTypeenum: "transactions" | "journal-entries" | "gains-losses" | "cost-basis-ledger" | "income-expense" | "profit-and-loss" | "statement" | "balance-sheet" …yesReport type
formatenum: "xlsx" | "pdf" | "json"yesExport format
fromDatestringyesReport period start ISO timestamp
toDatestringyesReport period end ISO timestamp
totalsOnlybooleannoReturn summary only when true

get_request_status

Get Request Status

Check the status of any queued background work — report generation, wallet sync, rule application, or a transaction change — using the requestId returned when it was queued; there is no separate report-status tool.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
requestIdstringyesRequest ID returned by the call that queued the work (e.g. incremental_sync, full_resync, request_report_export)
portfolioRefstringnoPortfolio exact name or slug
transactionIdstringnoOptional transaction ID that caused the async request, for agent context

add_wallet

Add Wallet(s) to Portfolio

Add one or more blockchain addresses and start their first sync. Omit the blockchain connection identifier (integrationId) to add an EVM 0x address on every supported EVM network; other addresses require an integrationId. It does not configure exchange accounts and reports which addresses were added or skipped.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace name or slug. Call list_workspaces to resolve it.
portfolioRefstringyesPortfolio name or slug inside that workspace. Call list_portfolios to resolve it.
walletsarray<object>yes

create_workspace

Create Workspace

Create a workspace when list_workspaces is empty or the user wants another; then create_portfolio. On failure, check list_workspaces before retrying.

ParameterTypeRequiredDescription
namestringyesWorkspace name
workspaceIntentenum: "PERSONAL_EVALUATION" | "BUSINESS"noPersonal or business use

create_portfolio

Create Portfolio

Create an accounting portfolio in an existing workspace, optionally choosing jurisdiction and policies; Canada and US profiles require matching currency, entity type, and timezone. If no jurisdiction is selected, Tokenbooks uses generic accounting defaults. Search help for policy choices.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace name or slug. Call list_workspaces to resolve it.
namestringyesPortfolio name
currencystringnoFunctional currency (default USD)
legalEntityTypeenum: "CORPORATION" | "INDIVIDUAL" | "TRUST" | "PARTNERSHIP" | nullnoLegal entity classification for an explicit country profile
financialReportingFrameworkenum: "TAX_ONLY" | "US_GAAP_PRE_2025" | "US_GAAP_ASC350_60" | "IFRS_IAS38" | "IFRS_IAS38_REVAL" | "IFRS_IAS2_LCNRV" | "IFRS_IAS2_BROKER_TRADER_FVLCTS" | "ASPE" …noFinancial reporting framework (default TAX_ONLY)
reportingTimezonestringnoCanonical IANA reporting timezone (default UTC)
costBasisLotMethodenum: "FIFO" | "LIFO" | "HIFO" | "ACB"noLot-matching method for disposals
costBasisPerWalletbooleannoWhether acquisition lots stay scoped to each wallet
gasFeeAccountingTreatmentenum: "DISPOSAL_AND_COST_BASIS" | "EXPENSE_ONLY"noAccounting treatment for gas spend
stablecoinTreatmentenum: "BASE" | "ASSET"noStablecoin valuation treatment; this does not change lot tracking
jurisdictionCodestringnoExact assigned ISO country code, or custom. If omitted, resolves Custom regardless of currency

get_asset_position

Get Asset Position

Summarize one cryptocurrency or token across every wallet with quantity, cost basis, market value, unrealized gain or loss, and portfolio totals. This covers wallet holdings, not all ledger accounts; request a balance-sheet report for a complete statement.

ParameterTypeRequiredDescription
workspaceRefstringyesWorkspace exact name or slug
portfolioRefstringyesPortfolio exact name or slug
assetRefstringyesAsset symbol or canonical asset id
includeSpambooleannoAlso match assets marked as spam

list_chains

List Supported Chains

Find which blockchains support wallet syncing by name, Tokenbooks chain slug, or numeric EVM network ID; results identify EVM networks whose shared 0x address can be added together with add_wallet.

ParameterTypeRequiredDescription
querystringnoOptional chain name, slug, or EVM chain id (e.g. "Optimism", "optimism-mainnet", "10")
evmOnlybooleannoWhen true, return only EVM-compatible chains

get_help

Get Help

Find practical Tokenbooks instructions or accounting guidance. Pass query to search by topic (MCP workflow, cost basis, fair market value, gas fees, stablecoins, ...), or pass a slug from a previous search result to open that article.

ParameterTypeRequiredDescription
querystringnoSearch query for Tokenbooks instructions or accounting guidance. Omit when using slug.
slugstringnoHelp article slug to open directly, from a previous get_help search result. Omit when using query.
limitinteger | stringnoMaximum number of search results, only used with query

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://api.tokenbooks.io/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http tokenbooks https://api.tokenbooks.io/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : tokenbooks ; URL : https://api.tokenbooks.io/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : tokenbooks ; Server URL : https://api.tokenbooks.io/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "tokenbooks": {
      "url": "https://api.tokenbooks.io/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "tokenbooks": {
      "type": "http",
      "url": "https://api.tokenbooks.io/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "tokenbooks": {
      "url": "https://api.tokenbooks.io/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "tokenbooks": {
      "httpUrl": "https://api.tokenbooks.io/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.tokenbooks]
url = "https://api.tokenbooks.io/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

Tokenbooks - crypto and fiat accounting and payments · L’Atlas · Tested on

Markdown
[Tokenbooks - crypto and fiat accounting and payments — L’Atlas](https://latlas.dev/en/mcp/io.tokenbooks/tokenbooks)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.