Stockportfolio Mcp

io.github.avisre由 GitHub 帳號 avisre 發布v0.3.2更新於 Nov 3, 2026

基於申報檔案的美國財務資料與SEC檔案研究,附來源連結,不含估算。

AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。

原文描述

Filing-grounded US financials and SEC filing research, with source links and no estimates.

已驗證STDIO僅桌面金融資料與分析

概覽

Stockportfolio 的本機 MCP 服務;無需登入;STDIO。

暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Stockportfolio Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

stockportfolio-mcp

Filing-grounded US financial data and SEC filing research for your agent. Figures retain their fiscal periods and source links; missing values are not estimated. Coverage is US-listed companies that report in USD.

bash
# Create or manage an API key → https://www.stockportfolio.pro/api

Install

The hosted MCP server supports OAuth 2.1/DCR. Clients that support remote Streamable HTTP can connect directly to https://www.stockportfolio.pro/mcp and sign in. The local npm bridge is for clients that need stdio and requires a StockPortfolio.pro API key.

Install the Cursor plugin

The Cursor Marketplace plugin connects to the hosted MCP server. After the plugin is listed, install it from Cursor's Customize page and complete the sign-in prompt. If your client does not offer a remote-MCP sign-in for https://www.stockportfolio.pro/mcp, send your API key as a header instead.

To configure a remote server manually, add one of these entries to ~/.cursor/mcp.json or the project's .cursor/mcp.json:

json
{  "mcpServers": {    "stockportfolio": {      "url": "https://www.stockportfolio.pro/mcp"    }  }}
json
{  "mcpServers": {    "stockportfolio": {      "url": "https://www.stockportfolio.pro/mcp",      "headers": { "Authorization": "Bearer your-api-key" }    }  }}

Continuing use needs a StockPortfolio.pro account; the plugin itself is free and MIT.

Install the local stdio bridge

Add this to your MCP client's config and restart it:

Claude Desktop — ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "stockportfolio": {      "command": "npx",      "args": ["-y", "stockportfolio-mcp"],      "env": { "STOCKPORTFOLIO_API_KEY": "your-key-here" }    }  }}

The stdio bridge requires STOCKPORTFOLIO_API_KEY (or MCP_API_KEY) in its environment. It does not provide anonymous keyless access. Create a key from the API page linked above.

Requires Node 18 or newer; npx fetches the package on first run. Nothing else to install — this package bundles everything it needs.

Tools

toolwhat it returns
search_companiesResolve a company name or ticker to a covered US-listed company.
get_company_fundamentalsPeriod-based financial statements with SEC filing sources.
search_filingsSearch filing metadata by company, form, and date range.
get_filingRead selected excerpts from an SEC filing.
ask_filingsResearch a question against company filings and return supporting pulls.
get_recent_filingsReview recent filings across covered companies.
screen_companiesScreen the covered company universe.
get_filing_changesCompare a company's recent filings of the same form.
get_red_flagsSurface warning signs computed from filed statements.
sp_healthFree liveness probe.

Research tools consume the allowance attached to the signed-in account. Current plans, credit costs, and trial availability are listed on the API page; they can change, so this README does not repeat price or allowance figures.

Every successful financial or filing response includes the relevant company, fiscal period, and SEC filing source URL. Filing excerpts retain their filing URL; supplemental data is identified by source. Missing values are returned as missing rather than estimated. The live /mcp endpoint advertises the current tool schemas to clients during connection, so the list above is the current source of truth for available tools.

What's in this package

A stdio MCP server that proxies to the hosted endpoint at https://www.stockportfolio.pro/mcp. It reads JSON-RPC on stdin, forwards each request with your key as a bearer header, and relays the reply to stdout. No filing data, no model code and no server logic ship in the tarball — the only thing it holds is the key you give it, and it sends that key nowhere except that endpoint.

Because the endpoint is stateless, one bridge per client is fine and there is no session to resume — a dropped connection is rebuilt on the next call.

Troubleshooting

symptomcause
The API key was rejectedSTOCKPORTFOLIO_API_KEY is missing, revoked, or pasted with quotes.
Out of credits for this monthThe account's allowance is spent. See current options on the API page.
Rate limitedToo many concurrent calls; retry shortly.
npx can't find the packageNode 18+ is required. npx -y stockportfolio-mcp from a terminal shows the same error your client sees.
Client shows no toolsRestart the client after editing the config — the MCP config is read at startup.

The bridge prints its errors to stderr, which most MCP clients surface in their log pane. To see them directly, run it yourself:

bash
STOCKPORTFOLIO_API_KEY=your-key npx -y stockportfolio-mcp

Links

Informational research only — not investment advice. Fund data is Yahoo-derived and not redistributable.

來源:README.md,提交 a534b48

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:伺服器未完成 MCP 握手。

版本歷史

2
  1. v0.3.2最新Nov 3, 2026
  2. v0.3.1Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分