Model Context Protocol · macOS · Localhost Only

Ask AI about your net worth—without uploading it to a cloud server.

WorthTrail for Mac includes a built-in local MCP (Model Context Protocol) server over Streamable HTTP. Connect Claude Code, Claude Desktop, Codex, or any compatible MCP client to query your portfolio and optionally log changes with explicit preview approval.

WorthTrail Agent Access MCP settings screen

Connection Specifications

Property Value
Transport Streamable HTTP (local loopback only)
Default Endpoint http://127.0.0.1:47821/mcp (port configurable in Settings, 1024–65535)
Authentication Authorization: Bearer <token> (stored in macOS Keychain; resettable anytime)
Availability Runs only while WorthTrail is open on Mac and Agent Access is switched on
Pricing Included in the free plan (no paywall on MCP; same 10-item free limit applies to adding new assets)

How to Connect

Open WorthTrail on Mac → Settings → Agent Access, turn on local agent access, and copy your personal setup prompt or Bearer token.

Claude Code

claude mcp add --transport http --scope user worthtrail http://127.0.0.1:47821/mcp \
  --header "Authorization: Bearer YOUR_TOKEN"

Claude Desktop (~/.claude.json)

{
  "mcpServers": {
    "worthtrail": {
      "type": "http",
      "url": "http://127.0.0.1:47821/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN"
      }
    }
  }
}

Codex (~/.codex/config.toml)

[mcp_servers.worthtrail]
url = "http://127.0.0.1:47821/mcp"
http_headers = { "Authorization" = "Bearer YOUR_TOKEN" }

What AI Agents Can Query & Do

Read Tools (Enabled when Agent Access is on)

  • Current net worth, total assets, liabilities, cost basis, and daily change (get_net_worth)
  • Open positions by category or currency, including stocks, ETFs, crypto, options, deposits, and custom assets (list_positions, list_liabilities)
  • Historical snapshots and daily holding breakdowns (get_snapshots, get_snapshot_detail)
  • Period investment performance, money-weighted return curves, and daily earnings by holding (get_performance, get_daily_earnings)
  • Dividends, recurring plans, transaction history, and FIRE projections

Write Tools (Separate opt-in switch)

  • Disabled by default—enabling read access never enables writes automatically.
  • Two-step confirmation: The first tool call returns a human-readable preview and a short-lived confirmation code. The change is applied only when you approve the preview and the agent submits the second call with that code.
  • Supports recording trades, position adjustments, assets, liabilities, plans, and undo actions—with a built-in change log in Settings.

Example Questions You Can Ask

Security Model