SuperAPIAI Directory

torus

github.com · AI finance

Torus is a persistent research memory tool for equity research, providing a local knowledge graph for agent environments such as Claude Code, Claude Desktop, and Codex. It records the companies you cover and their supplier, customer, and competitor relationships, with every fact tied to a source (such as 10-Ks, earnings calls, articles), and stores bullish or bearish investment theses, the evidence those theses depend on, and the triggers that could invalidate them; it also records excluded research directions to avoid duplicated work. When new SEC filings or news appear, Torus uses the graph to determine which theses they may affect and scores them by impact, alerting you via desktop notifications and daily or weekly summaries through email, Slack, Discord, and ntfy. It does not call large models itself; reasoning is done by Claude, data is stored in a local SQLite file, and it supports temporal backtracking and a visual explorer.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux

About this tool

Torus is a persistent research memory system designed for equity research, delivered as an MCP server plus plugin and integrated into agent environments such as Claude Code, Claude Desktop, and Codex. Its core goal is to solve the 'use once and discard' problem of chat-based research: let each new round of research build on existing conclusions instead of starting from zero every time.

Purpose and positioning Torus is aimed at analysts, portfolio managers, and serious individual investors. It does not provide investment advice, nor does it call large models itself—reasoning is done by Claude, and the cheaper Haiku subagent handles organizing records. All research data is stored in a single SQLite file under ~/.torus (can be overridden with TORUS_HOME), following a local-first design.

Main capabilities

  1. Knowledge graph: records the companies you cover and their supplier, customer, and competitor relationships; every claim about a company is bound to a source (10-K, earnings call, article, etc.).
  2. Investment thesis management: stores bullish or bearish theses, the evidence the theses rely on, triggers that could invalidate the theses, and excluded research directions.
  3. Time awareness: each fact records 'when it was true' and 'when you believed it', and you can query the state of knowledge at any historical date; corrections are stored as new versions without deleting old content.
  4. SEC filing reading: reads 10-K, 10-Q, 20-F, and other filings from EDGAR, reading them by section (business, risk_factors, mdna, legal, market_risk, financials, etc.), can compare with the previous filing of the same type, returning added, deleted, and rewritten sentences; when citing a filing, includes the URL and original quotation as a primary source.
  5. Monitoring and alerts: periodically checks new SEC filings, RSS/Atom news feeds, and closing stock prices for watched companies, converts new items into events, and uses the graph (suppliers, customers, competitors) to determine which theses may be affected and generate alerts. Alerts are scored by 'graph relevance × event importance × (1 + trigger-word match)', divided into strong, moderate, and weak tiers, and show the score composition.
  6. Notification channels: strong alerts trigger desktop notifications (Windows toast, macOS Notification Center, Linux notify-send), and can generate daily or weekly summaries, delivered via email, Slack, Discord or ntfy delivery.
  7. Visual explorer: generates a single self-contained HTML file that works offline and can be shared; supports clicking nodes to view details, searching by name or ticker, filtering, dragging a time slider to review historical graph states, and locating nodes or dates via URL fragments (such as #select=NVDA, #at=2026-09-20).
  8. Starter packs: provide widely reported industry relationship networks; links are marked as starter links until confirmed by research, and will not overwrite links recorded by your research.
  9. Research quality maintenance: tracks what is outdated, what relies on only a single source, how skeptics would rebut it, and tracks your judgment performance against the market.

Usage Requires Python 3.11+ and Claude Code. Install via the PyPI package torus-kg; after installation, the command is torus. Running torus setup will ask for the contact email required by the SEC, download the SEC ticker list, add Torus to Claude Desktop settings (keeping a .bak backup and not affecting other servers), and schedule a file monitoring task. In Claude Code, add the plugin via the plugin command and select a capture mode. You can use torus onboard or torus onboard --file portfolio.csv to import companies you follow, then use /torus:onboard to complete mapping. Monitoring tasks stay running via Windows Task Scheduler, macOS launchd, or Linux cron. torus doctor checks each app's configuration and server startup status, and torus doctor --fix can fix issues; torus demo builds an example graph in a separate folder and does not affect your own data.

The MCP server provides Claude with 45 tools (such as brief, recall, record_claim, filing_diff, whatif, digest, scorecard, etc.); Claude Desktop and Codex show only the 33 analyst toolsets by default, and all can be shown via TORUS_TOOLSET=full. Claude Desktop and Codex do not load Claude Code plugin, so the workflow is hosted by the MCP server itself; each /torus: command is both an MCP prompt and a Codex skill.

Use cases Suitable for research work that requires long-term tracking of company fundamentals, maintaining investment theses, and being promptly informed about the impact of SEC filings and news on the thesis.

Limitations Torus is a research memory tool, not financial advice. Claude, ChatGPT, and Copilot in the browser cannot use it because they can only access MCP servers at public addresses, while Torus runs locally. Reading SEC filings requires setting the sec_contact contact email. Other MCP clients (such as Cursor, VS Code) may work but are untested. The visual explorer generates snapshots; after new research, you need to rerun torus explore.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools