# TaxSort > Sort a year of bank, card and brokerage transactions into IRS tax categories with AI assistance: import CSV exports, classify each transaction with Claude, review by hand, and read grouped summaries for your return. TaxSort is a single-page web app backed by an MCP (Model Context Protocol) server. Humans use the web UI; AI agents can call the same MCP tools directly. TaxSort organizes and categorizes transactions; it does not provide tax advice. ## Connecting an agent The web app is one client of an MCP server, and an agent can call the same tools directly. - MCP endpoint (streamable HTTP, no account, no API key): https://taxsort-mcp.fastmcp.app/mcp - Claude.ai or Claude Desktop: Customize → Connectors → Add custom connector → paste the endpoint; leave the OAuth fields blank - Claude Code: `claude mcp add --transport http taxsort https://taxsort-mcp.fastmcp.app/mcp` - Cursor (`.cursor/mcp.json`): `{"mcpServers": {"taxsort": {"url": "https://taxsort-mcp.fastmcp.app/mcp"}}}` - VS Code (`.vscode/mcp.json`): `{"servers": {"taxsort": {"type": "http", "url": "https://taxsort-mcp.fastmcp.app/mcp"}}}` - MCP Registry: `io.github.lonniev/taxsort-mcp` First connection: 1. Ask the person for their Nostr npub (npub1…). Never ask for an nsec. 2. `taxsort_request_npub_proof(patron_npub=…)` sends them a Nostr direct message. They reply from their Nostr client; then call `taxsort_receive_npub_proof(patron_npub=…, nonce=…)` once with the nonce the request returned. Your connection then holds the npub: pass only `npub` on every paid call. 3. `taxsort_check_balance`. If it is empty, `taxsort_purchase_credits` returns a Lightning invoice for the person to pay, and `taxsort_check_payment` confirms it. `taxsort_service_status` and the `taxsort_oracle_*` tools need no proof. `taxsort_check_price` previews a fare. The server's own MCP `instructions` repeat these steps. ## What is on this site - **Sessions** — one workspace per tax year, holding every imported account. Sessions lock after a timeout and reopen with a passphrase. A session can be shared with a spouse or accountant via a share token. - **CSV import** — bank and brokerage export formats (SoFi, Chase, Schwab, US Bank, PayPal, Coinbase, and a generic mapper), with per-account typing (bank / card / investment / loan). - **AI classification** — Claude proposes an IRS category per transaction; every proposal can be reviewed and overridden. Classification rules (description pattern + optional amount filter) auto-apply to recurring payees, and custom categories extend the built-in IRS set. - **Summaries** — spending totals grouped by IRS line item. - **Subscription detection** — scans imported transactions for recurring charges and surfaces cancellation information. - **Advisors** — two Claude-backed chats: a financial advisor and a tax-code researcher. - **Usage transparency** — Anthropic token spend per model with estimated USD cost and the sats equivalent. All data is keyed to the patron's npub and isolated per patron. ## Tools - Core workflow: `taxsort_create_session`, `taxsort_import_csv`, `taxsort_get_transactions`, `taxsort_save_classifications`, `taxsort_get_summary`. - Rules and categories: `taxsort_get_rules`, `taxsort_save_rule`, `taxsort_apply_rules`, `taxsort_get_custom_categories`. - Advisor chats: `taxsort_ask_advisor`, `taxsort_ask_tax_researcher`. ## Payments and identity - Identity is a Nostr keypair (npub). There is no account, no email, no subscription and no KYC. - A connection proves its npub with a Nostr DM challenge, or by signing each request with the npub's key (NIP-98). - Tool calls debit a balance of sats, pre-funded with a Bitcoin Lightning invoice. - Each operator sets its own per-tool prices. Monetization is the Tollbooth DPYC™ protocol: https://tollbooth-dpyc.com ## License, patent, and trademarks - Source is open under the Apache License 2.0. The services built on it are private commerce: each operator sets its own tolls. - Patent Pending — US Provisional Application 64/045,999 (Tollbooth DPYC Economic Architecture). - DPYC™, Tollbooth DPYC™ and Don't Pester Your Customer™ are trademarks of Lonnie VanZandt. ## Links - Web app: https://taxsort-app.pages.dev - MCP endpoint: https://taxsort-mcp.fastmcp.app/mcp - Source: https://github.com/lonniev/taxsort-mcp - Every service on the network: https://mcps.tollbooth-dpyc.com - Tollbooth DPYC™ (monetization SDK and network): https://tollbooth-dpyc.com - DPYC community and patent filings: https://github.com/lonniev/dpyc-community - DPYC Oracle (free community concierge): https://dpyc-oracle.fastmcp.app/mcp