Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

MCP Etf Holdings

by vlearnerversion 0.6.0i★ –iRuns on your computer
Registry nameio.github.vlearner/mcp-etf-holdings

Install

Overview

Description from the maker (original English)

Find which ETFs hold any stock, compare funds, and pull holdings. Live Yahoo Finance data.

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Accounting, finance & tax

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • The registry lists no key to fill in.

You need

  • PyPIPython’s uv installed (for the uvx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "etf-holdings": {
      "command": "uvx",
      "args": [
        "mcp-etf-holdings"
      ]
    }
  }
}

Run this in your terminal

claude mcp add etf-holdings -- uvx mcp-etf-holdings

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "etf-holdings": {
      "command": "uvx",
      "args": [
        "mcp-etf-holdings"
      ]
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "etf-holdings": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-etf-holdings"
      ]
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account vlearner, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Accounting, finance & taxi

  • More stars than 0% of the other 2902 servers in this category
  • Published to the registry more recently than 71% of the other 2902 servers in this category
  • Basic checks equal to or better than 100% of the other 2902 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is MCP Etf Holdings safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.6.0) reached the registry 12 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: Finance Toolkit, SolidInvoice, Korea Tax Calculator

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Finance Toolkit

by JerBouma

500+ transparent financial methods calculated from raw statements, not third-party endpoints.

Computer or cloud★ 5,496MITUpdated yesterday
Install

SolidInvoice

by SolidInvoice

Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.

Runs in the cloud★ 981MITUpdated 8 days ago
Install

Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.

Runs on your computer★ 97MITUpdated yesterday
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

mcp-etf-holdings

An MCP server for ETF data. Ask which funds hold a stock, compare fees, or pull top holdings. Data comes live from Yahoo Finance. No API key.


What you can ask

Ask ClaudeTool it calls
"Which ETFs hold NVDA?"find_etfs_holding_stock
"What's the cheapest ETF for Nvidia exposure?"stock_exposure_summary
"Compare SPY, VOO, QQQ and SCHD"compare_etfs
"What are SPY's top holdings?"etf_holdings
"What is QQQ's expense ratio and AUM?"etf_info
"Find me semiconductor ETFs"search_etfs
"What's the ticker for Berkshire Hathaway?"lookup_symbol

Search by company name or ticker symbol. "Which ETFs hold Nvidia?" works the same as "Which ETFs hold NVDA?". Ask about several funds at once and you get one comparison table.


Requirements

  • Python 3.11+
  • An MCP client: Claude Code, Claude Desktop, VS Code, Cursor, or Antigravity
  • uv, which runs the server without a manual install

Install uv:

curl -LsSf https://astral.sh/uv/install.sh | sh

Setup

You don't need to install the server first. Every config below launches it on demand with uvx, in its own isolated environment.

To put it on your PATH instead, run pip install mcp-etf-holdings, then swap uvx mcp-etf-holdings for a plain mcp-etf-holdings in any config below.

Claude Code
claude mcp add etf-holdings -- uvx mcp-etf-holdings
Claude Desktop
  1. Open your config file:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  1. Add the server:
   {

"mcpServers": { "etf-holdings": { "command": "uvx", "args": ["mcp-etf-holdings"] } } }

  1. Quit Claude Desktop and reopen it. Closing the window is not enough.
VS Code
  1. Create .vscode/mcp.json in your workspace. For a global config, run MCP: Open User Configuration instead.
  2. Add the server. VS Code uses the key servers, not mcpServers:
   {

"servers": { "etf-holdings": { "type": "stdio", "command": "uvx", "args": ["mcp-etf-holdings"] } } }

  1. Restart VS Code.
Cursor

Use the same JSON as Claude Desktop. Put it in .cursor/mcp.json for one project, or ~/.cursor/mcp.json for all of them. Restart Cursor.

Antigravity

Antigravity reads mcpServers from mcp_config.json. Put it in ~/.gemini/config/mcp_config.json for all projects, or /.agents/mcp_config.json for one:

{

"mcpServers": { "etf-holdings": { "command": "uvx", "args": ["mcp-etf-holdings"] } } }

In the IDE you can open it from the agent panel: MCP Servers → Manage MCP Servers → View raw config.

Or install it as a plugin from a checkout of this repo (the plugin is just the same config plus a manifest, in antigravity/etf-holdings):

agy plugin install /path/to/mcp-etf-holdings/antigravity/etf-holdings

For the IDE, copy that folder into .agents/plugins/ (one workspace) or ~/.gemini/config/plugins/ (all workspaces).

To use the opt-in HTTP transport instead, Antigravity names the URL field serverUrl: {"mcpServers": {"etf-holdings": {"serverUrl": "http://127.0.0.1:8000/mcp"}}}.

Verify it works

Ask your client each of these:

  • "Which ETFs hold NVDA?" — calls find_etfs_holding_stock
  • "Compare SPY, QQQ and VTI" — calls compare_etfs, returns one table
  • "Which ETFs hold Nvidia?" — resolves the name to NVDA and says so

If you get real numbers back, you're done.


Example prompts

Copy any of these into a client that has the server connected.

Compare funds

Compare SPY, VOO, IVV and SPLG — they all track the S&P 500, so which is cheapest?

Compare QQQ, VGT, XLK and SMH on expense ratio and 5-year return.

Search by name or ticker

Which ETFs hold Nvidia?

What's the ticker for Berkshire Hathaway?

Find me the Vanguard total stock market fund and show its top holdings.

Find the cheapest exposure to a stock

What's the cheapest ETF to get exposure to Nvidia?

I want AMD exposure without buying the stock directly. What are my options, and what do

they cost?

Check a portfolio for overlap

I own VOO, QQQ and VGT. Am I doubling up?

Show me every holding that appears in more than one of SPY, SCHD and DGRO.

Discover funds by theme

Find semiconductor ETFs and compare the three biggest.

What dividend ETFs exist, and which has the highest yield?

Research one fund

Give me a deep dive on SCHD.

How concentrated is QQQ? What share of it is the top 5 positions?

Prompt templates

The server registers five prompt templates. Claude Desktop and Claude Code show them as slash-commands, so you don't have to write the prompt yourself.

TemplateArgumentWhat it does
etf_deep_divetickerCosts, size, returns, and a concentration read on one fund
compare_fundstickersSide-by-side table plus a cost and return comparison
stock_exposurestockRanks the ETFs holding a stock by weight and cost
portfolio_checkuptickersFinds positions duplicated across the funds you hold
theme_explorerthemeFinds funds for a theme and compares the leaders

Tool reference

Tools that return more than one row format the result as a markdown table.

etf_info(ticker)

Metadata for one ETF. For two or more funds, use compare_etfs.

  • ticker (string) — ETF symbol, e.g. "SPY"

Returns name, category, AUM, expense ratio, dividend yield, NAV/price, and YTD / 3-yr / 5-yr returns.

compare_etfs(tickers)

Compares several ETFs in one table.

  • tickers (array of strings) — e.g. ["SPY", "QQQ", "VTI", "SCHD"]. Case-insensitive and de-duplicated. Capped at 10 funds per call.

Returns Ticker, Name, Category, AUM, Expense, Yield, YTD, 3-Yr, 5-Yr. A ticker with no data still gets a row, plus a note naming it, so one typo doesn't discard the rest.

etf_holdings(ticker)

Top holdings of an ETF with portfolio weights.

  • ticker (string) — ETF symbol, e.g. "QQQ"

Returns a ranked table of symbol, name, and weight %.

find_etfs_holding_stock(stock_ticker, limit, custom_etf_universe)

Reverse lookup. Finds which ETFs hold a given stock in their disclosed top positions.

  • stock_ticker (string) — a ticker like "NVDA" or a company name like "Nvidia". Names are resolved to a ticker, and the output says which one it used.
  • limit (int, default 20) — capped at 50
  • custom_etf_universe (JSON string, optional) — search a specific list instead of the default universe, e.g. '["SPY","QQQ","XLK"]'

Returns matching ETFs sorted by the stock's weight, highest first.

Only top holdings are checked, roughly 10–15 positions per ETF. A stock held outside

those positions will not appear.

stock_exposure_summary(stock, limit)

The same reverse lookup, joined with each fund's cost and size. Use it for "what's the cheapest or largest way to hold this stock?".

  • stock (string) — ticker or company name, e.g. "NVDA" or "Nvidia"
  • limit (int, default 10) — capped at 25

Returns ETF, Name, Weight, Rank, Expense, AUM, sorted by weight in the stock.

lookup_symbol(query, limit, asset_type)

Resolves a company or fund name to its ticker symbol.

  • query (string) — e.g. "Nvidia" or "Vanguard total stock market"
  • limit (int, default 10) — capped at 25
  • asset_type (string, default "any") — "any", "stock", or "etf"

Returns Symbol, Name, Type, Exchange.

search_etfs(query, limit)

Finds ETFs by name, theme, or category.

  • query (string) — e.g. "semiconductor" or "dividend"
  • limit (int, default 10) — capped at 25

Returns matching ETF tickers with names and exchanges. To resolve a *stock* name instead of finding funds, use lookup_symbol.


From source

For development, or to run without waiting on a release:

git clone https://github.com/vlearner/mcp-etf-holdings.git

cd mcp-etf-holdings uv sync

Without uv:

python3 -m venv .venv && .venv/bin/pip install -e ".[dev]"

The repo ships a .vscode/mcp.json pointed at your working tree, so VS Code picks up local changes with no extra setup. Point other clients at:

{

"command": "uv", "args": ["run", "--directory", "/absolute/path/to/mcp-etf-holdings", "mcp-etf-holdings"] }

Check that the server starts:

uv run mcp-etf-holdings

It will sit silent, waiting for JSON-RPC on stdin. That is correct for a stdio MCP server.

To poke at the protocol by hand:

npx @modelcontextprotocol/inspector uv run mcp-etf-holdings
HTTP transport (optional)

stdio is the default and what every editor config above uses. To serve over streamable HTTP instead:

uv run mcp-etf-holdings --transport http            # http://127.0.0.1:8000/mcp

uv run mcp-etf-holdings --transport http --port 9000

Point a client at it with { "type": "http", "url": "http://127.0.0.1:8000/mcp" } (VS Code, under servers). MCP_TRANSPORT, MCP_HOST and MCP_PORT set the same options.

It binds to loopback by default and has no authentication. Binding elsewhere is refused unless you pass --allow-insecure (or set MCP_ALLOW_INSECURE=1); put an authenticating proxy in front before exposing it beyond your machine.

Try it in Docker

A sample Dockerfile builds the server from this checkout:

docker build -t mcp-etf-holdings .

docker run --rm -e MCP_ALLOW_INSECURE=1 -p 127.0.0.1:8000:8000 mcp-etf-holdings

MCP_ALLOW_INSECURE=1 is required because the container binds all interfaces. Keep the 127.0.0.1: in the port mapping: it is what stops the container from being reachable by other machines on your network. The server logs a no-authentication warning inside the container; that is expected. This is for trying the feature, not a hosting recipe.

Tests
uv run pytest -q

The suite is fully offline. Both yf.Ticker and yf.Search are mocked, the latter by an autouse fixture, so no test can reach Yahoo by accident.

For coverage:

uv run pytest -q --cov=mcp_etf_holdings --cov-report=term-missing
Layout
src/mcp_etf_holdings/

server.py ← FastMCP entry point, 7 tools prompts.py ← prompt templates, exposed as client slash-commands fetcher.py ← async wrappers around yfinance + 24h TTL cache formatting.py ← markdown tables and shared number formatting top_etfs.py ← ~365 ETF tickers scanned for reverse lookups main.py ← enables python -m mcp_etf_holdings tests/ ← pytest suite, fully offline .vscode/mcp.json ← VS Code config pointing at the working tree pyproject.toml

Dependencies: mcp (protocol SDK), yfinance (data), pandas (holdings frames), httpx (transport).


Troubleshooting

SymptomFix
command not found: uvxInstall uv, then restart your editor so it picks up the new PATH.
Server missing from the clientEditors read MCP config only at startup. Fully quit and reopen. Check the client's MCP logs for the launch error.
Works in a terminal, not in the editorGUI apps often don't inherit your shell PATH. Use an absolute path to uvx — run which uvx to get it.
Tool calls return "No data found"Check the symbol is real. Yahoo rate-limits sometimes, so wait and retry.
Python version error on installNeeds 3.11+. Check with python3 --version.

Limits

Worth knowing before you trust a number:

  • Only the top ~10–15 positions per ETF are published. Anything derived from holdings —

Only the beginning is shown; read the rest in the repo

Ask PopNx