Portfolio Terminal

com.portfolio-terminal由 portfolio-terminal.com 发布官方发布者v1.1.0更新于 Nov 1, 2026

Dated ETF, stock and calendar data, plus tax-loss, withholding and fee math on your holdings.

已验证Streamable HTTP可网页运行金融数据与分析

概览

AI 生成的概览

远程只读 MCP 服务器,为助手提供带日期的美股、ETF、加密货币与期货数据,并基于用户提供的持仓计算税损、预扣税和基金费用。

可以做什么
  • 查询单只标的的带日期关键数据与通俗图表解读,或对两只股票/ETF 做五年对比
  • 查看哪些被跟踪的 ETF 和知名投资者(最新 SEC 13F)持有某只美股
  • 查看 ETF 持仓、行业构成与集中度,并测算两只 ETF 的重叠程度
  • 列出覆盖范围内美股与 ETF 的除息日和财报日期,并标注已确认或估算
  • 根据用户提供的持仓批次,计算 12 月 31 日前卖出可实现的亏损及其可抵扣项
  • 按付款方国家计算高于协定税率的股息预扣税,并计算各基金费率每年的成本
适用场景
适合需要快速获取有出处的美股与 ETF 市场数据,或想就税损收割、境外股息预扣税和基金费用进行推演的场景。每个数字都带日期,并附可引用的链接。
运行要求
需连接 portfolio-terminal.com 的远程 streamable HTTP 端点;未声明任何软件包、账户、API 密钥或环境变量。覆盖范围限于目录内:390 只美股、30 只 ETF、17 种加密货币和 4 种商品期货。
安装前请注意
三个计算工具会接收用户分享的持仓,只应传入用户主动提供的内容,切勿把持仓放进 URL。结果属于信息而非投资或税务建议,服务器也不会判定两只基金是否“实质相同”。数据为带日期的快照,引用时应同时注明日期与来源链接。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Portfolio Terminal,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.portfolio-terminal%2Fportfolio-terminal/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "portfolio-terminal": {
      "type": "http",
      "url": "https://portfolio-terminal.com/api/mcp"
    }
  }
}

工具

10

analyze_ticker

Stock, ETF or coin key facts

Dated key facts and a plain-English chart read for one ticker Portfolio Terminal covers (390 US stocks, 30 ETFs, 17 cryptocurrencies and 4 commodity futures): price and one-year change, 52-week range, distance from the 200-day average, 30-day volatility with a risk rating, P/E and dividend yield, all-time high and "lowest since", ten years against the S&P 500 (SPY), support and resistance levels, which tracked ETFs and famous investors (13F) hold it, and related research. Use it for "how is NVDA doing", "is TSLA near its high", "what does the AAPL chart say".

输入参数ticker必填

who_holds

Which ETFs and famous investors hold a stock

Which of the 54 tracked US ETFs hold a US-listed stock (weight and rank, from each issuer's full holdings file, matched on ISIN), and which famous investors hold it in their latest SEC Form 13F (share of their reported portfolio, rank, quarter). Offline data: fast, no market call. Use it for "which ETFs hold PLTR", "does Buffett own Apple".

输入参数ticker必填

etf_holdings

Everything an ETF holds

An ETF's or index fund's holdings from the issuer's full file (or its latest SEC N-PORT report for funds outside the catalog): the largest lines with their weights, the sector mix, and how concentrated it is (weight of the top 10, how many names make up half the fund, effective number of holdings). Share classes of one fund (VFIAX → VOO) resolve to its file.

输入参数limitticker必填

etf_overlap

How much two ETFs overlap

How much of two ETFs is the same money: overlap by weight (the sum, over companies both hold, of the smaller of the two weights), how many companies they share, what share of each fund sits in names the other also holds, and the largest shared holdings. Full issuer files, matched on ISIN. Use it for "VOO vs QQQ overlap", "is IVV the same as VOO".

输入参数limitfund_a必填fund_b必填

compare

Head-to-head of two stocks or ETFs

Five-year head-to-head of two covered stocks or ETFs from weekly closes adjusted for dividends and splits: total and annualized return, 1-, 3- and 5-year returns, volatility, worst drawdown and worst week, correlation, what $10,000 became, plus each one's dividend yield, beta and (for funds) fee. Use it for "SCHD vs VIG", "NVDA vs AMD".

输入参数a必填b必填

dividend_calendar

Dividend calendar

US stocks and ETFs (of the 420 Portfolio Terminal covers) going ex-dividend in a month or a date range: ex-dividend date, pay date, dividend per share, yield, frequency, and whether the date is confirmed by the company or estimated from its payment rhythm. Buy before the ex-date to receive the dividend. Filter by one ticker with `symbol`.

输入参数daysfromlimitmonthsymbol

earnings_calendar

Earnings calendar

US companies (of the 390 Portfolio Terminal covers) reporting earnings in a month or a date range: the day, before the open or after the close, EPS and revenue estimates, whether the date is confirmed or estimated, and once out, the result against the consensus and how many recent quarters beat it. Filter by one ticker with `symbol`.

输入参数daysfromlimitmonthsymbol

tax_loss_harvest

Tax-loss harvesting before December 31

Computes, on the lots the user gives (ticker, shares, price, date, account and its type), the losses a sale before December 31 would realize and what they offset, with the engine of Portfolio Terminal's "Before December 31" panel. US resident: FIFO lots per account, short vs long term, this year's realized gains, the year netted as Schedule D nets it (the $3,000 off ordinary income, the carryforward), and the wash-sale rule across every account, IRA and 401(k) included: losses it took this year, windows still open, and the first day the same security can be bought back without one (IRS Publication 550). French resident: weighted average cost across accounts at ECB rates, PEA and crypto left out, and the flat tax those losses erase against this year's net gains (CGI art. 150-0 D, 200 A). Funds on the same index are flagged, never judged "substantially identical". Current prices are fetched unless given in `prices`. Nothing is stored. Use it for "how much tax can my losses save before December 31", "would this be a wash sale".

输入参数lots必填pricescarryoverresidence必填filing_status

withholding_check

Dividend tax withheld abroad

Computes, on the dividends the user gives (a year of dividends, gross, by payer: a ticker such as "NESN.SW" or a country code), the tax each payer's country keeps at source, the treaty rate, and what was withheld above it over 12 months, which only that country refunds on a claim; for a French resident, also the treaty part France credits on form 2047. Same engine as Portfolio Terminal's Income and Pro tabs: statutory rates as of 2026, a US dividend at 15% (W-8BEN on file), European-listed funds paying no withholding. Countries outside its table are named, never guessed. Nothing is stored. Use it for "how much Swiss tax do I lose on Nestlé dividends", "which of my dividends are over-withheld".

输入参数currencydividends必填residence必填

fund_fees

What your funds cost a year

Computes, on the funds and amounts the user gives, what each fund's expense ratio takes a year (amount × expense ratio), the total and the weighted ratio, with the expense ratios of Portfolio Terminal's fees view (the fund's latest annual report as Yahoo Finance lists it). A fact, not a verdict: no other fund is suggested. A line that is not a fund, or whose ratio is not published, is named. Nothing is stored. Use it for "how much do my ETFs cost me a year".

输入参数funds必填currency

版本历史

1
  1. v1.1.0最新Nov 1, 2026

评分

已满足适用检查项的 72%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分

    请在注册中心条目中发布图标。

  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。