---
title: "A portfolio tracker with its own MCP server"
description: "Sonar is a stock and crypto portfolio tracker with a remote MCP server. Add one URL to Claude, ChatGPT, Claude Code or Cursor and sign in. Read-only."
url: "https://sonarfolio.com/portfolio-tracker-mcp-server"
language: "en"
updated: "2026-11-28"
---

# A portfolio tracker with its own MCP server

Sonar tracks stocks, ETFs and crypto in one portfolio and runs a remote MCP server, so Claude, ChatGPT, Claude Code and Cursor can read your holdings when you ask. There is nothing to install or host.

An AI assistant can only answer from your real holdings if the tracker that keeps them offers a Model Context Protocol (MCP) server. Sonar does. This page is the reference for it: the address, how sign-in works, every tool, the steps for each client, and the limits.

## The server at a glance

|            |                                                                                                          |
| ---------- | -------------------------------------------------------------------------------------------------------- |
| Server URL | `https://sonarfolio.com/api/mcp`                                                                         |
| Transport  | Streamable HTTP. It is a remote server: nothing to install, run or keep updated                          |
| Sign-in    | OAuth with your Sonar account. Clients that send headers can use an API key as a bearer token            |
| Tools      | Seven: six read, one records a position you describe                                                     |
| Covers     | The stocks, ETFs and coins you hold: value, profit and loss, allocation, income, social and onchain data |
| Can't      | Trade, move funds, connect or change accounts, or delete anything                                        |

## What each tool returns

| Tool               | What it returns                                                                                              |
| ------------------ | ------------------------------------------------------------------------------------------------------------ |
| `get_portfolio`    | Total value, 24-hour change, unrealized P&L, allocation by asset, class and account, biggest movers, income  |
| `list_holdings`    | Every position per account: quantity, price, value, cost, P&L and weight                                     |
| `list_held_assets` | Each asset you hold with price, 24-hour change and social data                                               |
| `get_asset`        | One held asset in depth: quote, 7-day change, market cap, volume, 90 days of closes, social and onchain data |
| `search_assets`    | Find a stock, ETF or coin by ticker or name. Returns ids, no market data                                     |
| `add_position`     | Records a holding you say you own, after confirming the asset, quantity and cost with you                    |
| `get_usage`        | Your plan, what it includes through the server, and requests used today                                      |

Six tools only read. `add_position` is bookkeeping: it writes one manual position and is marked as a write, so clients ask before running it.

## Connect a client

### ChatGPT

Sonar is an approved app in ChatGPT. Open the [AI page](https://sonarfolio.com/ai), choose **Add to ChatGPT**, sign in to Sonar and select **Allow**.

### Claude (web, desktop and mobile)

1. Open **Customize**, then **Connectors**.
2. Select **+ Add**, then **Add custom connector**. Name it Sonar and paste the server URL.
3. Select **Connect**, sign in to Sonar and select **Allow**. In a chat, turn it on under **+**, then **Connectors**.

### Claude Code

```
claude mcp add --transport http sonar https://sonarfolio.com/api/mcp
```

Run `/mcp`, choose Sonar and select **Authenticate**. To use an API key instead, add `--header "Authorization: Bearer YOUR_KEY"` to the command.

### Cursor and other MCP clients

In `~/.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "sonar": {
      "url": "https://sonarfolio.com/api/mcp",
      "headers": { "Authorization": "Bearer YOUR_KEY" }
    }
  }
}
```

Any client that speaks MCP over Streamable HTTP connects the same way. Keys are created on the API and AI tools page in Sonar and shown once. Every step is on [Developers](https://sonarfolio.com/developers).

## What a question looks like

> What is my portfolio worth today, and what moved it most in the last 24 hours?

> Show my allocation between stocks and crypto, and by account.

> Which of my holdings have more negative sentiment than a week ago?

The assistant calls the tools it needs and describes what they return. It reports facts; what to do about them stays your call.

## What it covers, and what it doesn't

- **Only what you hold.** Prices, social data and onchain data cover the assets in your portfolio. It is not a market screener, and it has no data on an asset you don't hold.
- **Read-only.** No tool can trade, withdraw or transfer. Sonar never asks for private keys, seed phrases, exchange API keys or passwords.
- **Your whole portfolio.** The server reads whatever you track in Sonar: wallets by public address on more than 50 networks, brokerages and crypto exchanges through Plaid on a paid plan, [CSV imports](https://sonarfolio.com/import-sources) and positions added by hand.
- **Fresh, and it says when it isn't.** Results carry quote times, and anything your plan doesn't include is reported as not included.

## Plans and requests

Each tool call is one request.

- **Starter ($7 a month):** market and social data for the assets you hold, and adding positions. 100 requests a day.
- **Standard ($11 a month):** adds your holdings, P&L and allocation, plus onchain data for coins. 1,000 requests a day.
- **Premium ($20 a month):** the same, with 2,000 requests a day.
- **Every account, with or without a plan,** starts with 100 API credits, one per request. More cost $1 per 1,000 and never expire.

Every plan starts with a 14-day free trial of that plan, with no card. See [pricing](https://sonarfolio.com/pricing).

## FAQ

### Is there a portfolio tracker with an MCP server?

Yes. Sonar (sonarfolio.com) is a read-only portfolio tracker for stocks, ETFs and crypto with a remote MCP server at `https://sonarfolio.com/api/mcp`. Claude, ChatGPT, Claude Code, Cursor and other MCP clients connect to it and read your holdings, performance, allocation, income and the social and onchain data on what you hold.

### Do I have to install or host anything?

No. The server runs on Sonar's side and speaks Streamable HTTP. You add its URL to your assistant and sign in.

### Can the assistant trade or move money?

No. Six tools read, and the seventh records a position you describe after you confirm it. Nothing can place an order, move funds or change a connected account.

### Does it need my exchange API keys or wallet keys?

No. Wallets are read from their public address, and brokerages and exchanges connect through Plaid, where you sign in on Plaid's own screens. The assistant signs in to Sonar, never to your accounts.

### How do I disconnect an assistant?

Open the API and AI tools page in Sonar and disconnect the app, or revoke the key. Access stops right away.
