# wealthAPI

> wealthAPI is an open-source MCP server for finance and payments. Read-only MCP server giving AI assistants access to your wealthAPI portfolio and cash flow. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, macOS, Windows, Linux
- **Repository:** https://github.com/wealthapi-eu/wealthapi-mcp
- **MCP Registry name:** eu.wealthapi/mcp-server
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-27

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
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.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

```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.

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

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

### Codex: Or add to config.toml (~/.codex/config.toml)

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

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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.

### Devin Desktop (~/.config/devin/mcp_config.json)

```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.

### Cline (cline_mcp_settings.json)

```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.

### Zed (Zed settings.json)

```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.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "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.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```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.

### Kiro (~/.kiro/settings/mcp.json)

```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.

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

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_accounts` (name suggests: reads): Lists the user's accounts.
- `get_account_balances` (name suggests: reads): Shows cash balance history.
- `get_portfolio_valuation` (name suggests: reads): Returns portfolio value today and over time.
- `list_transactions` (name suggests: reads): Lists account transactions.
- `detect_recurring_transactions`: Finds subscriptions and fixed costs.
- `list_bookings` (name suggests: reads): Shows buys, sells and dividends.
- `get_cash_flow_summary` (name suggests: reads): Shows income versus spending per month.
- `get_savings_rate` (name suggests: reads): Calculates the savings rate.
- `list_investments` (name suggests: reads): Lists holdings and their value.
- `get_gainers_and_losers` (name suggests: reads): Shows best and worst performing investments.
- `get_portfolio_performance` (name suggests: reads): Shows portfolio performance over a period.
- `get_portfolio_allocation` (name suggests: reads): Shows diversification by region, sector or asset type.
- `get_risk_metrics` (name suggests: reads): Shows portfolio risk metrics.
- `get_realized_gains` (name suggests: reads): Shows realised gains for a period.
- `get_dividend_history` (name suggests: reads): Shows dividend income per year or month.
- `get_dividend_calendar` (name suggests: reads): Lists upcoming dividend payments.
- `get_portfolio_yield` (name suggests: reads): Shows portfolio dividend yield.
- `search_symbols` (name suggests: reads): Finds securities by name or ISIN.
- `get_quotes` (name suggests: reads): Returns current security prices.
- `get_security_fundamentals` (name suggests: reads): Shows fundamentals such as P/E, P/B and F-Score for an ISIN.
- `whoami`: Shows which account the token belongs to.

## 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 Portfellow, BankMCP™, Wealth Tracker, Personal Finance MCP and YNAB Budget Assistant.

## Where this comes from

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

## Alternatives

- [Portfellow](https://ai-powered.com/mcp/portfellow): Portfellow is a freemium MCP server for finance and payments.
- [BankMCP™](https://ai-powered.com/mcp/bankmcptm): BankMCP™ is an open-source MCP server for finance and payments.
- [Wealth Tracker](https://ai-powered.com/mcp/wealth-tracker): Wealth Tracker is a freemium MCP server for finance and payments.
- [Personal Finance MCP](https://ai-powered.com/mcp/personal-finance-mcp): Personal Finance MCP is an open-source MCP server for finance and payments.
- [YNAB Budget Assistant](https://ai-powered.com/mcp/ynab-budget-assistant): YNAB Budget Assistant is an open-source MCP server for finance and payments.
- [Robinhood Portfolio Research](https://ai-powered.com/mcp/robinhood-portfolio-research): Robinhood Portfolio Research is an open-source MCP server for finance and payments.
- [Intrinsic Alpha](https://ai-powered.com/mcp/intrinsic-alpha): Intrinsic Alpha is a freemium MCP server for finance and payments.
- [Odyn](https://ai-powered.com/mcp/odyn): Odyn is an MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/wealthapi
