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 分

    请在仓库或注册中心条目中声明许可证。