Ragalgo

io.github.kokogo100由 GitHub 帳號 kokogo100 發布v1.0.0更新於 Oct 27, 2026

Dynamic RAG Engine preventing AI hallucinations in Korean Finance and Crypto markets.

已驗證STDIO僅桌面金融知識與記憶

概覽

AI 產生的概覽

RagAlgo 為 AI 助理提供全球股票與加密貨幣的每日收盤評分式金融脈絡,旨在降低市場分析中的幻覺。

可以做什麼
  • 取得附 AI 情緒評分的新聞,或取得未評分的原始新聞流
  • 取得全球股票(美、英、日、韓)與加密貨幣的每日收盤技術分析
  • 一次呼叫取得新聞、圖表與趨勢合併的市場總覽
  • 查詢按季或年度的公司財務資料
  • 將公司或資產名稱解析為 RagAlgo 標籤
適用情境
適合讓助理依據盤後評分資料而非即時價格分析韓國、美國、英國、日本或加密市場,例如建立分析或簡報類助理,而非高頻交易機器人。
執行需求
需要以環境變數 RAGALGO_API_KEY 提供的 RagAlgo API 金鑰,官方提供免費 1000 次呼叫金鑰。可使用託管 SSE 端點,或透過 npx 在 Node.js 上執行本機 npm 套件。需要連線至 RagAlgo 服務的網路。
安裝前請注意
需要 API 金鑰,超出免費額度後受呼叫配額限制;即時 WebSocket 屬付費方案。輸出為分析性脈絡而非投資建議,且基於每日收盤資料而非即時價格。市場資料與新聞會傳送至第三方服務處理。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

RagAlgo: Dynamic RAG Engine for AI Reliability

[npm version] [npm downloads] [GitHub stars] [License: MIT] [MCP]

"Your AI is an Analyst, NOT a Day Trader."

RagAlgo is an MCP Server that provides mathematically scored financial context (Korean Stocks/Crypto) to AI agents. We focus on "State-of-Truth" (Daily Closed Data) to prevent AI hallucinations caused by real-time market noise.

  • Analyst, Not Broker: We provide "Daily Analysis Reports" (Post-Market), not real-time tick data.
  • Scored Context: Instead of raw prices, we give you "Scores" (0~100) and "Zones" (Forest vs Tree).
  • Global Market Specialist: Optimized for US, UK, JP, KR, and Crypto.

👉 Official Website (ragalgo.com)


📖 Architecture & Whitepaper

Discover why RagAlgo is the "Hippocampus" for Agentic AI, not just another RAG.

🏗️ Data Pipeline Architecture

Our production system on Railway processes global financial data 24/7:

┌─────────────────────────────────────────────────────────────────────────────┐│                        RagAlgo Data Pipeline (Railway)                      │├─────────────────────────────────────────────────────────────────────────────┤│                                                                             ││  📥 COLLECT              🔍 FILTER              🏷️ TAG           📊 SCORE  ││  ─────────────          ──────────────         ─────────        ──────────  ││  • KR-News-Collector    • filter-worker-1      • tag-worker     • Gemini-1  ││  • US-News-Collector    • filter-worker-2      • Meta-Hierarchy • Gemini-2  ││  • UK-News-Collector    • filter-worker-3      •   Worker       • ...       ││  • JP-News-Collector    • ibkr_filter_worker3  │                • Gemini-7  ││  • research-collector   │                      │                │           ││                         │                      │                │           ││  ════════════════════════════════════════════════════════════════════════  ││                                    ↓                                        ││                      📦 SNAPSHOT (Daily 18:00 KST)                          ││                      ──────────────────────────────                         ││                      • KR-Snapshot  • US-Snapshot                           ││                      • UK-Snapshot  • JP-Snapshot                           ││                      • CRY-Snapshot • Unified-Snapshot                      ││                                    ↓                                        ││                          🚀 SERVE (MCP Server)                              ││                          ─────────────────────                              ││                          • RagAlgo-Service (SSE/stdio)                      ││                          • ragalgo-relay-server (WebSocket)                 ││                                                                             │└─────────────────────────────────────────────────────────────────────────────┘

[RagAlgo Architecture]

  • Vision Whitepaper (The Hook)
    • Concept: Why RagAlgo is a "Semantic Digital Twin" (SDT) using the Hippocampus analogy.
    • Value: Explains the "Self-Growing Taxonomy" and "Data Flywheel" effect.
  • Technical Report (The Proof)
    • Deep Dive: Detailed anatomy of the Contextual Knowledge Network (CKN).
    • 2025 Trend: How RagAlgo serves as the memory layer for Agentic AI (e.g., PepsiCo/Salesforce Agentforce).

💡 Why "Daily Close"?

Users often ask: "Why isn't the chart data real-time?"

Because AI performs better with clarity. Real-time tick data is full of noise and volatility. If you feed an LLM raw live prices, it often hallucinates patterns that don't exist.

RagAlgo acts like a Professional Technical Analyst who works after the market closes:

  1. Wait for the dust to settle (Market Close).
  2. Analyze the day's battle (Daily Candle & Aux Indicators).
  3. Deliver a "Confirmed Strategy" to your AI.

Use RagAlgo to build "Investment Advisors", not "High-Frequency Trading Bots".


🚀 Quick Start

Claude Desktop Configuration

Add this to your config file:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
☁️ Cloud Mode (Recommended - No installation required)
json
{  "mcpServers": {    "ragalgo": {      "url": "https://ragalgo-service-production.up.railway.app/sse",      "env": {        "RAGALGO_API_KEY": "YOUR_API_KEY_HERE"      }    }  }}
📦 Local Mode (Requires Node.js)
json
{  "mcpServers": {    "ragalgo": {      "command": "npx",      "args": ["-y", "ragalgo-mcp-server", "--stdio"],      "env": {        "RAGALGO_API_KEY": "YOUR_API_KEY_HERE"      }    }  }}

Tip: You can get a Free 1,000 Call Key instantly at RagAlgo Dashboard.


📚 Usage Examples (Cookbook)

We have a dedicated repository for practical examples to help you get started quickly. Please visit the RagAlgo Examples Repository.

What's Inside?

  • 8 Step-by-Step Recipes: From basic data fetching to advanced AI agents.
  • Skeleton Code + Prompts: Copy-paste ready resources.
  • Scenarios:
    • 🐣 Basic: Get stock scores in 5 minutes.
    • 🧪 Intermediate: Verify technical signals with AI.
    • 🚀 Advanced: Build an autonomous reasoning agent (Mock Trading Audit).
    • ☕ Morning Briefing: Create a bot that emails you a daily market summary.

"Skeleton + Prompt" Approach: We provide the ingredients. You ask ChatGPT/Claude to cook!


🌍 Supported Markets & Roadmap

RagAlgo is expanding its CKN coverage globally. Currently, US, UK, Japan, Korea, and Crypto markets are fully supported.

MarketAsset ClassStatus
🇰🇷 KoreaKOSPI / KOSDAQ🟢 Live (Real-time Sentiment & Charts)
🇺🇸 USANYSE / NASDAQ🟢 Live (Daily Scored Context)
🇯🇵 JapanNikkei 225🟢 Live (Daily Scored Context)
🇬🇧 UKLSE🟢 Live (Daily Scored Context)
🪙 CryptoGlobal (Upbit/Binance)🟢 Live (Real-time Sentiment & Charts)

🛠 Tools

⚠️ CORE CONCEPT: Scored vs Raw

  • get_news_scored (Default): Returns only significant news (Scores ≠ 0). Best for AI decision making.
  • get_news (Raw): Returns ALL news including noise. Use this ONLY if you need raw data feed.
ToolDescription
get_news_scored[RECOMMENDED] News WITH AI Sentiment Scores (-10 ~ +10). Filters out noise.
get_news[Advanced] Raw News WITHOUT scores. Includes 0-score noise. Use only if you build your own scorer.
get_chart_stock[Core] Global Stock (US/UK/JP/KR) Technical Analysis (Daily Close).
get_chart_coin[Core] Global Crypto Technical Analysis (Daily Close).
get_snapshots[Best] Market Overview (News + Chart + Trend) in one call.
get_financialsCorporate Financials (Quarterly/Yearly).
search_tagsConvert names (e.g., "Samsung") to RagAlgo Tags.

📡 Real-time WebSocket (Business Tier)

For users who really need live data (e.g., for monitoring dashboards), we offer a WebSocket stream. Note: This is strictly for monitoring, not for LLM inference context.

  • Access: Business Plan subscribers (Includes 30 connections).
  • Address: wss://ragalgo-relay-server-1-production.up.railway.app
  • Guide: See Developer Docs for implementation details.

💬 Support

來源:README.md,提交 05fa836

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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

    請在儲存庫或註冊中心條目中宣告授權條款。