Skip to content
MCP server

wealthAPI

Read-only MCP server giving AI assistants access to your wealthAPI portfolio and cash flow

Runs locally

wealthAPI is an open-source MCP server for finance and payments. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, macOS
Runs
Locally
Access
Needs a secret key or token
Version
0.1.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add mcp-server --env BEARER_TOKEN='<BEARER_TOKEN>' -- npx -y @wealth_api/mcp-server

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@wealth_api/mcp-server"
      ],
      "env": {
        "BEARER_TOKEN": "<BEARER_TOKEN>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@wealth_api/mcp-server"
      ],
      "env": {
        "BEARER_TOKEN": "<BEARER_TOKEN>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@wealth_api/mcp-server"
      ],
      "env": {
        "BEARER_TOKEN": "<BEARER_TOKEN>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@wealth_api/mcp-server"
      ],
      "env": {
        "BEARER_TOKEN": "<BEARER_TOKEN>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add mcp-server --env BEARER_TOKEN='<BEARER_TOKEN>' -- npx -y @wealth_api/mcp-server

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "@wealth_api/mcp-server"]
env = { BEARER_TOKEN = "<BEARER_TOKEN>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@wealth_api/mcp-server"
      ],
      "env": {
        "BEARER_TOKEN": "<BEARER_TOKEN>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@wealth_api/mcp-server"
          ],
          "env": {
            "BEARER_TOKEN": "<BEARER_TOKEN>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e BEARER_TOKEN='<BEARER_TOKEN>' mcp-server npx -- -y @wealth_api/mcp-server

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@wealth_api/mcp-server"
          ],
          "env": {
            "BEARER_TOKEN": "<BEARER_TOKEN>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@wealth_api/mcp-server"
          ],
          "env": {
            "BEARER_TOKEN": "<BEARER_TOKEN>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@wealth_api/mcp-server"
          ],
          "env": {
            "BEARER_TOKEN": "<BEARER_TOKEN>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@wealth_api/mcp-server"
          ],
          "env": {
            "BEARER_TOKEN": "<BEARER_TOKEN>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@wealth_api/mcp-server"
          ],
          "env": {
            "BEARER_TOKEN": "<BEARER_TOKEN>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@wealth_api/mcp-server"
          ],
          "env": {
            "BEARER_TOKEN": "<BEARER_TOKEN>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@wealth_api/mcp-server"
          ],
          "env": {
            "BEARER_TOKEN": "<BEARER_TOKEN>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • BEARER_TOKENPersonal wealthAPI API token (wapi_key_…)Required
  • LOG_LEVELLogging verbosity (debug, info, warn, error)

About wealthAPI

Connects an MCP-compatible assistant such as Claude Desktop to a wealthAPI account so you can ask plain-language questions about spending, holdings, returns, risk and dividends. The server runs as a local process on your machine and calls the wealthAPI REST API with your personal token, returning text summaries to the assistant.

Every tool is read-only, so the assistant can review accounts, transactions, investments and dividend data but cannot place trades or change anything in the account. Guided prompts chain several tools together for tasks such as a monthly review, a savings-rate check or a subscription audit.

It suits individual investors who already use wealthAPI and want an AI assistant to summarise their finances. Developers can also import the tool set into their own Node backend, provided they handle authentication themselves.

Tools this server provides (21)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 19 of 21 tools read data; 2 names don't say.

From the server's own tool labels and tool names; not verified by us.

list_accountsName suggests: reads
Lists the user's accounts.
get_account_balancesName suggests: reads
Shows cash balance history.
get_portfolio_valuationName suggests: reads
Returns portfolio value today and over time.
list_transactionsName suggests: reads
Lists account transactions.
detect_recurring_transactions
Finds subscriptions and fixed costs.
list_bookingsName suggests: reads
Shows buys, sells and dividends.
get_cash_flow_summaryName suggests: reads
Shows income versus spending per month.
get_savings_rateName suggests: reads
Calculates the savings rate.
list_investmentsName suggests: reads
Lists holdings and their value.
get_gainers_and_losersName suggests: reads
Shows best and worst performing investments.
get_portfolio_performanceName suggests: reads
Shows portfolio performance over a period.
get_portfolio_allocationName suggests: reads
Shows diversification by region, sector or asset type.
get_risk_metricsName suggests: reads
Shows portfolio risk metrics.
get_realized_gainsName suggests: reads
Shows realised gains for a period.
get_dividend_historyName suggests: reads
Shows dividend income per year or month.
get_dividend_calendarName suggests: reads
Lists upcoming dividend payments.
get_portfolio_yieldName suggests: reads
Shows portfolio dividend yield.
search_symbolsName suggests: reads
Finds securities by name or ISIN.
get_quotesName suggests: reads
Returns current security prices.
get_security_fundamentalsName suggests: reads
Shows fundamentals such as P/E, P/B and F-Score for an ISIN.
whoami
Shows which account the token belongs to.

What it does

Read-only portfolio access
Tools only read accounts, investments, transactions and profile data, with no trading or write actions.
Cash flow analysis
Summaries of income against spending, savings rate and recurring transactions by month.
Dividend tracking
Dividend history, upcoming payment calendar and portfolio yield figures.
Performance and risk metrics
Portfolio performance, realised gains, allocation by region, sector or asset type, and risk measures.
Local stdio operation
Runs as a local process over stdio, so the bearer token stays on the user's computer.
Guided analysis prompts
Built-in prompts chain tools into monthly reviews, subscription audits and financial health checks.

Good for

  • Reviewing last month's spending and finding the largest categories
  • Checking how a portfolio performed over the current year
  • Listing upcoming dividend payments and current portfolio yield
  • Identifying recurring subscriptions and fixed costs
  • Comparing security fundamentals such as P/E and P/B before buying

Pricing

Open source

wealthAPI FAQ

Can the server make trades or change my account?

No. All tools are read-only and only request read scopes for accounts, investments, transactions and profile data.

Where is my API token stored and sent?

When run locally, the token is supplied through the BEARER_TOKEN environment variable and sent only to the wealthAPI API base URL.

Which assistants can use wealthAPI?

Any MCP-compatible client, including Claude Desktop and Claude Code, can connect to the server.

What do I need to install wealthAPI?

Node 20 or later and pnpm, plus a personal wealthAPI API token created in your account settings.

Is wealthAPI free?

Yes. wealthAPI is open source, so you can use and self-host it for free.

How do I add wealthAPI to Claude Code?

Run this command in your terminal: claude mcp add mcp-server --env BEARER_TOKEN='<BEARER_TOKEN>' -- npx -y @wealth_api/mcp-server

What are the best alternatives to wealthAPI?

The closest alternatives to wealthAPI are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, NostrPulse, Australian Economic Data (ABS, RBA & APRA) and Crypto Perp Pulse & Outage Radar (x402).

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers