Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Stock research memory for Claude: theses, sourced claims and SEC filing alerts in a local graph
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
TORUS_HOME, TORUS_TOOLSET, TORUS_CAPTURE_MODE你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"torus": {
"command": "uvx",
"args": [
"torus-kg",
"serve"
],
"env": {
"TORUS_HOME": "your-value",
"TORUS_TOOLSET": "your-value",
"TORUS_CAPTURE_MODE": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add torus --env TORUS_HOME=your-value --env TORUS_TOOLSET=your-value --env TORUS_CAPTURE_MODE=your-value -- uvx torus-kg serve运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"torus": {
"command": "uvx",
"args": [
"torus-kg",
"serve"
],
"env": {
"TORUS_HOME": "your-value",
"TORUS_TOOLSET": "your-value",
"TORUS_CAPTURE_MODE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"torus": {
"type": "stdio",
"command": "uvx",
"args": [
"torus-kg",
"serve"
],
"env": {
"TORUS_HOME": "your-value",
"TORUS_TOOLSET": "your-value",
"TORUS_CAPTURE_MODE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
TORUS_HOME envTORUS_TOOLSET envTORUS_CAPTURE_MODE env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 sekhar14 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.4.1)于15天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Stock research memory for Claude Code, Claude Desktop and Codex. Torus gives Claude a memory for your equity research. Before it answers, Claude sees what you already know about a company: your theses, the sourced facts behind them, its suppliers, customers and competitors, and the ideas you ruled out. New research builds on the old, and every new fact is saved with its source. When a new SEC filing or news story threatens a thesis, Torus warns you: on your desktop as it happens, and in a daily or weekly digest by email, Slack, Discord or ntfy.
Ask Claude *"Is NVIDIA still supply-bound?"* and it starts from what you already concluded, not from scratch. Torus keeps:
When a 10-K, 10-Q, 8-K or news item lands, Torus works out which of your theses it touches, through which supplier or customer link, and how much it matters. It also keeps the research honest (what's gone stale, what rests on one source, what a skeptic would say) and tracks how your calls did against the market.
Built for analysts, portfolio managers and serious individual investors.
~/.torus (override with TORUS_HOME).*Torus is a research memory, not financial advice.* See CHANGELOG.md for what's in each release.
Torus works in three apps. All of them share one graph on your machine, so you can research in one and pick up in another.
| Claude Desktop | Codex (desktop app and CLI) | Claude Code | |
|---|---|---|---|
| Prior research recalled before Claude answers | Yes (brief, prompted by the server's instructions) | Yes (brief, prompted by the server's instructions) | Yes, automatically on every prompt (hook) |
| Sources and claims recorded while researching | Yes (live capture) | Yes (live capture) | Yes (balanced capture, curator fills gaps) |
| "Torus recorded ..." receipt after each turn | Yes | Yes | Yes |
| Workflows: onboard, review alerts, challenge, memo... | Prompts in the "+" menu | Torus skills | /torus: commands |
| Filing and news alerts, audit, scorecard, memos, explorer | Yes | Yes | Yes |
| Desktop notifications and the digest (they come from the watchers, not the app) | Yes | Yes | Yes |
| Background Haiku subagents (mapper, curator, challenger) | No: the same steps run in the chat | No: the same steps run in the chat | Yes |
Claude Desktop
pip install torus-kg
torus setup
The package is called torus-kg on PyPI; the command it installs is torus. torus setup asks for the email the SEC requires, downloads the SEC ticker list, adds Torus to Claude Desktop's settings (it keeps a .bak copy and leaves your other servers alone), and schedules the filing watchers. Restart Claude Desktop, then try the Onboard companies prompt from the "+" menu with a few tickers.
Codex
The same two commands. torus setup adds [mcp_servers.torus] to ~/.codex/config.toml (or $CODEX_HOME) and installs the Torus skills (torus-research, torus-onboard, torus-review and so on) under ~/.codex/skills. If you already wrote a [mcp_servers.torus] entry yourself, setup leaves it as it is. Restart Codex, then ask it to onboard your tickers.
Claude Code
See Getting started below. torus setup also prints the two /plugin commands.
torus setup configures the apps it finds; pass --claude-desktop or --codex to configure one anyway, or --no-codex / --no-claude-desktop to skip one. torus doctor checks each app's entry and that the server starts, and torus doctor --fix repairs what it can.
Just looking? torus demo builds a small sample graph (NVIDIA, TSMC, Micron and AMD theses, an alert from a TSMC filing, the semis starter pack) in its own folder, TORUS_HOME/demo, and opens it in the explorer. Your own graph is untouched, and every piece of sample research is marked [demo].
Why this helps. Research done in chat is usually thrown away: the next session starts from scratch, and nothing connects new information to what you already concluded. Torus keeps the working parts of the research, not just the final report:
| Without Torus | With Torus |
|---|---|
| Every session re-reads the same filings and rediscovers the same facts | Each session starts from earlier theses, claims and ruled-out ideas |
| A new tool starts empty, so it's useless for weeks | /torus:onboard maps your companies' suppliers, customers and competitors from their 10-Ks in minutes |
| A report says "TSMC capacity is the constraint", but not where that came from | Every claim links to its source, with a verbatim quote, a confidence and the date it was true |
| A TSMC filing arrives and nobody notices that it undermines your NVIDIA view | Impact analysis follows supplier and customer links and raises an alert on that thesis |
| Every routine filing pings you, so you stop looking | Alerts weigh what kind of event it is and whether it matches what you said would break the thesis |
| The changes in a 150-page 10-K are buried | Torus lists the new, dropped and reworded risk-factor sentences since the last filing |
| Old conclusions get overwritten, and wrong ones linger | Every change is versioned; the audit flags what's stale or thinly sourced; undo keeps history |
| Dead ends get explored again | Ruled-out ideas are recalled alongside the theses |
| Nobody checks whether high-conviction calls were actually right | The scorecard tracks each thesis against its stock and measures your calibration |
You need Python 3.11+ and Claude Code.
1. Install the `torus` command. The plugin's hooks and MCP server run it, so this step is required:
pip install torus-kg
2. Set it up:
torus init --refresh-reference --contact you@example.com # SEC ticker list (the SEC asks for an email)
torus config set sec_contact you@example.com # used when reading and watching filings torus doctor # check that everything is in order
3. Add the plugin in Claude Code:
/plugin marketplace add sekhar14/torus
/plugin install torus@torus
You'll be asked for a capture mode:
| Mode | What Claude records while researching | The curator (Haiku) records later |
|---|---|---|
balanced (default) | theses, key claims with sources, ideas ruled out | supporting claims, extra sources, links |
live | everything | anything missed |
curator | theses and ideas ruled out | everything else |
4. Tell Torus what you cover (recommended). In Claude Code:
/torus:onboard NVDA AMD TSM AVGO
or from a portfolio or watchlist export: torus onboard --file portfolio.csv (any CSV with a ticker or symbol column), then /torus:onboard to finish the mapping. Torus adds the companies, watches their SEC filings, suggests matching starter packs, and a Haiku subagent maps each company's suppliers, customers, competitors and customer concentration from its latest annual report, citing the filing.
5. Keep the watchers running:
torus schedule install # checks filings, news and prices every hour
This uses Task Scheduler on Windows, launchd on macOS and cron on Linux.
6. Research as usual, e.g. *"Is NVIDIA still supply-bound? Check TSMC's CoWoS plans."* The next time you mention NVIDIA, Claude sees the earlier thesis, claims and ruled-out ideas before it starts. After each turn Torus tells you what it recorded (*"Torus recorded 1 thesis, 3 claims and 2 sources this turn"*), and /torus:undo reverts anything you don't want.
You don't need to remember commands; ask in plain words and Claude uses the right Torus tools.
| You say | What happens |
|---|---|
| "Is NVIDIA still supply-bound?" | Claude starts from your earlier NVIDIA research, then records new claims, sources and the updated thesis |
| "What changed in TSMC's latest 20-F risk factors?" | Torus lists the new, dropped and reworded sentences against last year's filing |
| "Add this earnings call transcript to Torus" | The transcript becomes sourced claims linked to the theses it bears on |
| "Any news that affects my theses?" | Open alerts, each with the path that explains it, judged one thesis at a time |
| "What happened this week?" | The digest: new alerts by thesis, status and confidence changes, theses coming due, scorecard moves |
| "What happens to my theses if TSMC's Arizona fab is delayed a year?" | Every thesis the event would reach, through which links, and the likely direction |
| "Poke holes in my Micron thesis" | A skeptic subagent researches the counter-case; you approve any risks it proposes |
| "Is my research still current?" | The audit: expired assumptions, theses past their horizon, single-source claims, conflicts |
| "How have my calls done?" | Returns against SPY in each thesis's direction, outcomes, and how calibrated your confidence is |
| "Write up my NVIDIA thesis to share" | A memo with every claim traced to its source |
| "Undo what you just recorded about AMD" | Those records are retracted or archived; history keeps them |
| Command | What it does |
|---|---|
/torus:onboard | Start covering companies: watch them, seed starter packs, map their links from 10-Ks |
/torus:status | Theses at risk, open alerts, recent changes, graph health |
/torus:review | Judge open alerts: did the event support, weaken or break the thesis? |
/torus:ingest | Read a filing, transcript, PDF or page into sourced claims; or what changed since the last filing |
/torus:whatif | Which theses would a hypothetical event reach, and how? Records nothing |
/torus:challenge | A devil's-advocate subagent stress-tests a thesis and proposes risks and triggers |
/torus:audit | Find expired, thinly sourced or conflicting research and theses past their horizon |
/torus:scorecard | How your theses did against a benchmark, and whether your confidence is calibrated |
/torus:memo | Write a thesis up as a sourced memo (Markdown and HTML) |
/torus:undo | See what recent sessions recorded and revert any of it |
/torus:distill | Have the Haiku curator add past sessions' findings to the graph |
/torus:explore | Open the visual graph explorer |
Behind them, the MCP server gives Claude 45 tools, from brief, recall and record_claim to filing_diff, whatif, digest and scorecard. Claude Desktop and Codex see 33 of them by default (the analyst toolset): the queue and low-level graph tools are hidden. Se
只显示了开头部分;其余内容请在仓库中阅读