Haruspex

Haruspex

MCP server exposing the Haruspex stock-analysis API, headline scores (0-100), score history, batched watchlist scores, stock search, and recent news for US-listed

Category
访问服务器

README

haruspex-skills

An MCP server for stock analysis, plus Anthropic Skills that build on it — powered by Haruspex.

This repository contains two things:

  1. An MCP server@haruspex-guru/mcp-server, a Model Context Protocol server that exposes the Haruspex stock-analysis API as tools (get_stock_score, get_stock_score_history, get_batch_scores, search_stocks, get_stock_news). Its source and Dockerfile live in mcp-server/, and it is published to npm as @haruspex-guru/mcp-server.
  2. A set of Anthropic Agent Skills (in skills/) that build structured trading workflows — single-ticker reads, watchlist scans, thesis checks, a Japanese-language variant — on top of that MCP server.

MCP Server

The MCP server lives in mcp-server/ and is published as @haruspex-guru/mcp-server. It speaks the Model Context Protocol over stdio and exposes five tools:

Tool Purpose
get_stock_score Latest Haruspex Score (0-100) for a ticker, with outlook, signal, dimensional breakdown, and shareable URL.
get_stock_score_history Daily historical scores for a ticker.
get_batch_scores Scores for up to 50 tickers in one call (watchlists).
search_stocks Find tickers by symbol or company name.
get_stock_news Recent news articles for a ticker.

Run it directly:

npx -y @haruspex-guru/mcp-server

Build from source (Docker):

docker build -t haruspex-mcp mcp-server/   # or build from repo root: docker build -t haruspex-mcp .

The server reads HARUSPEX_API_KEY at runtime for live data; get a key at https://haruspex.guru/settings. The Anthropic Skills below depend on this MCP server for their data — without it installed, the skills detect that, output install instructions, and stop; they will never fabricate analysis.

Skills in this repo

Skill Purpose
haruspex-stock-analyst Single-ticker fundamental + signals analysis. The default for any "what about [TICKER]?" question.
haruspex-watchlist-review Batched review of a multi-ticker watchlist. Ranked tables, biggest movers, dimensional flags.
haruspex-thesis-tracker Maps a stated investment thesis to the relevant Haruspex dimensions and reports whether the data still aligns.
haruspex-stock-analyst-ja 日本語版 of the flagship analyst, for traders working in Japanese on US-listed equities (NYSE/NASDAQ).

Each skill is a folder containing a SKILL.md with YAML frontmatter, a reference.md for deeper docs, and an examples.md with full example dialogues using real captured data.

Surface support matrix

Surface Skills MCP Status
Claude Code (terminal CLI) ✅ filesystem ~/.claude/skills/ claude mcp add-json Fully tested
Claude.ai web (browser) ✅ ZIP upload via Settings → Customize → Skills ✅ via Connectors Supported
Claude API (SDK) ✅ bundle in request ✅ pass server config See Anthropic docs
Claude Desktop app ❌ user-installable skills not supported as of v0.1.0 claude_desktop_config.json MCP works; skills don't (use Claude Code instead)
Cursor / Windsurf ❌ Anthropic Agent Skills not natively supported ✅ MCP works MCP-only; no skills runtime

Quickstart — Claude Code (recommended)

This is the path we test against.

  1. Install skills. From this repo:
    git clone https://github.com/Haruspex-guru/haruspex-skills.git
    mkdir -p ~/.claude/skills
    cp -r haruspex-skills/skills/* ~/.claude/skills/
    
  2. Register the MCP server at user scope (works in any project):
    claude mcp add-json --scope user haruspex '{
      "command": "npx",
      "args": ["-y", "@haruspex-guru/mcp-server"],
      "env": { "HARUSPEX_API_KEY": "hrspx_demo_public_REPLACE_ME" }
    }'
    
    Replace hrspx_demo_public_REPLACE_ME with your real key from https://haruspex.guru.
  3. Verify:
    claude mcp list           # haruspex should show ✓ Connected
    
    Then in a Claude Code session:
    /mcp                      # browse Haruspex tools
    /skills                   # see all 4 haruspex skills (✔ on)
    
  4. Try a query:
    What do you think about NVDA?
    
    The haruspex-stock-analyst skill auto-triggers, calls the MCP tools, and returns structured analysis with a verifiable share URL.

Quickstart — Claude.ai (web)

  1. Enable code execution in Claude.ai if you haven't already (Settings → Capabilities).
  2. Package each skill as a ZIP. From this repo:
    cd skills
    for d in */; do (cd "$d" && zip -r "../${d%/}.zip" .); done
    
    Produces 4 ZIPs in the skills/ directory.
  3. Upload each ZIP: claude.ai → Settings → Customize → Skills → "+" → Upload a skill. Repeat for all four.
  4. Configure @haruspex-guru/mcp-server via Connectors (the Connectors UI is separate from local Desktop config). Use your Haruspex API key.
  5. Try a query in any chat: "What do you think about NVDA?"

Heads-up: skills uploaded to claude.ai are subject to Anthropic's review guidelines for third-party content. "Only install skills from trusted sources" applies — Haruspex skills do not execute arbitrary code, but users should still review the SKILL.md files before installing.

Quickstart — Claude API / SDK

The Claude API supports Agent Skills programmatically. Bundle the skill directories with your request and pass the MCP server configuration alongside. See Anthropic's official Skills API docs for current syntax.

Claude Desktop — current limitation

The native Claude Desktop app does not load user-installable filesystem skills as of v0.1.0 of this repo (April 2026). Desktop's skills runtime currently only surfaces a built-in set (docx, pdf, pptx, etc.).

The MCP server side does work in Claude Desktop — see shared/MCP_SETUP.md for claude_desktop_config.json setup. But without a skills runtime, you'd be left calling MCP tools freeform rather than getting the structured workflow these skills enforce.

For Desktop users today: install Claude Code and use it from your terminal, or use claude.ai web with the ZIP upload flow above. Anthropic may add filesystem-skills support to Desktop later; this repo will update when that ships.

Prerequisites

  • A Haruspex API key — sign up at https://haruspex.guru. Never commit your API key to a repository.
  • One of: Claude Code, Claude.ai web, or the Claude API.
  • Node.js 18+ if you're running @haruspex-guru/mcp-server via npx.

Full per-surface MCP setup details live in shared/MCP_SETUP.md.

Compliance & disclaimer

These skills produce analysis, not advice. Every skill is hard-coded with compliance rules that prohibit direct buy/sell/hold recommendations, price predictions, position sizing, and stop-loss/take-profit specifics. Every skill output includes the canonical disclaimer footer.

The full disclaimer language and the rationale behind each compliance rule are in shared/DISCLAIMER.md. Treat that file and the "Compliance rules (NEVER VIOLATE)" sections of each SKILL.md as load-bearing.

Nothing in this repository is investment advice. Haruspex scores are quantitative signals derived from public data, provided for informational purposes only.

Topic dimensions

The Haruspex score is a composite of topic dimensions (e.g. competitors, earnings, supplychain, us_china_official). Plain-English descriptions of all 16 are in shared/DIMENSIONS.md. The scoring methodology itself is proprietary and intentionally not documented here.

Contributing

See CONTRIBUTING.md. The short version:

  • Open an issue before opening a PR for non-trivial changes.
  • Run bash scripts/validate-skills.sh before submitting.
  • Examples must use real captured data from the live API. Fabrication will be rejected.
  • Compliance language is non-negotiable.

Eval queries

eval/queries/ contains ~20 trigger-test queries per skill (half should-trigger, half should-not, with cross-skill ambiguity cases). Use them when revising any skill's description field. See eval/README.md for the manual evaluation procedure.

License

MIT. The skills (instructions and examples in this repository) are MIT-licensed. The Haruspex scoring algorithm and underlying data are proprietary; access is governed by the Haruspex API Terms of Service.

Where this came from

Built for the Haruspex community, inspired by patterns we've seen work in real trader workflows. Submissions to the official anthropics/skills catalog will follow once the skills have a stable shape here.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选