Portfolio Signals

io.github.KhizarShabir1由 GitHub 帳號 KhizarShabir1 發布v0.1.2更新於 Oct 24, 2026

Real-time stock quotes and technical signals: RSI, MACD, SMA crossovers via Yahoo Finance.

發布方自己的服務:SIGNALS Loyalty Agent Platform

已驗證Streamable HTTP可網頁執行金融資料與分析

概覽

AI 產生的概覽

一個 MCP 伺服器,讓助理透過 Yahoo Finance 資料取得即時股票報價與由程式計算的技術訊號,例如 RSI、MACD 與 SMA 交叉。

可以做什麼
查詢單一股票的價格、當日漲跌、成交量與 52 週區間,並提供由程式計算的 RSI(14) 區間、MACD 與訊號線比較以及 SMA 50/200 黃金或死亡交叉讀數。依 1 個月至 5 年的期間對多檔股票的總報酬進行排名。產生整體投資組合的每週摘要,包含 1 週與 1 個月報酬、RSI 與 MACD 位置以及 RSI 超出 30-70 區間的股票。工具只回傳量測值與標準門檻分類,解讀交由助理負責。
適用情境
適合讓助理查詢特定股票的目前報價或指標讀數、比較觀察清單中的報酬,或定期彙整投資組合表現而不必自行計算時使用。
執行需求
可使用託管的 HTTP 端點,也可在本機安裝;本機套件透過 uvx 或 pip 執行,需要 Python。行情資料經 yfinance 來自 Yahoo Finance,因此需要網路存取。不需要 API 金鑰或帳號。
安裝前請注意
輸出僅供參考,不構成投資建議;行情資料受 Yahoo 使用條款約束。訊號僅為門檻分類,並非買賣建議,助理可能將其表述為觀點。此伺服器為唯讀,不會下單或接觸券商帳戶。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.KhizarShabir1%2Fportfolio-signals/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "portfolio-signals": {
      "type": "http",
      "url": "https://portfolio-signals-mcp.fly.dev/mcp"
    }
  }
}

README

Portfolio Signals MCP

[PyPI] [Python] [License: MIT]

An MCP server that gives any AI coding agent (Claude Code, Cursor, Claude Desktop, etc.) real-time stock quotes and computed technical-analysis signals — RSI, MACD crossovers, golden/death crosses, and whole-portfolio weekly digests. Indicators are calculated in code, not by the LLM, so the numbers are right.

Data source: Yahoo Finance via yfinance — free, no API key required.

mcp-name: io.github.KhizarShabir1/portfolio-signals

Tools

ToolWhat it does
get_quote(ticker)Price, day change, volume, 52-week range
get_technical_signals(ticker)RSI(14) with overbought/oversold zone, MACD(12,26,9) vs signal line, SMA 50/200 golden/death cross
compare_tickers(tickers, period)Ranked total returns over 1mo–5y
weekly_digest(tickers)Whole-portfolio report: 1w/1mo returns, RSI, MACD position, tickers outside RSI 30–70

Design principle: tools return measurements and standard threshold classifications (RSI 70/30 zones, golden/death cross, MACD vs signal line) — never directional opinions or narrative summaries. Interpretation is the agent's job; determinism is the server's.

Quick start

No install needed if you have uv:

bash
uvx portfolio-signals-mcp

Claude Code

bash
claude mcp add portfolio-signals -- uvx portfolio-signals-mcp

Then ask Claude things like:

  • "What's the RSI and MACD on NVDA right now?"
  • "Compare AAPL, MSFT and VOO over 6 months."
  • "Give me a weekly digest for my portfolio: AAPL, NVDA, VOO, TSLA."

Cursor

Settings → Tools & MCP → Add a Custom MCP Server:

json
{  "mcpServers": {    "portfolio-signals": {      "command": "uvx",      "args": ["portfolio-signals-mcp"]    }  }}

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "portfolio-signals": {      "command": "uvx",      "args": ["portfolio-signals-mcp"]    }  }}

Remote (HTTP)

No local install — connects directly to the hosted instance:

bash
claude mcp add --transport http portfolio-signals https://portfolio-signals-mcp.fly.dev/mcp

From source

bash
git clone https://github.com/KhizarShabir1/portfolio-signals-mcpcd portfolio-signals-mcppip install -e .portfolio-signals-mcp           # stdioportfolio-signals-mcp --http    # streamable HTTP on :8000 (PORT env to change)

Disclaimer

Informational only — not financial advice. Market data comes from Yahoo Finance and is subject to Yahoo's terms of use.

License

MIT © Khizar Shabir

來源:README.md,提交 80ad75c

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v0.1.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通必需25 分

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

  • 已宣告認證方式必需10 分

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

  • 已列出工具15 分

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

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

其他 Signals 整合