openInvest MCP server
Investment runtime for AI agents — LLM investment committee, portfolio ledger, decision accounting
85 stars
Reviews
Write oneNobody has reviewed openInvest yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
openInvest tools (21, 5 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
add_news_sourceAdd an RSS/Atom feed to the crawler's source list. The URL is live-probed before saving — a URL that doesn't parse as a feed is rejected. Idempotent: re-adding an existing URL returns the existing entry. Capped so the list can't grow unbounded.
buywrite actionRecord a buy in the local ledger: adds to an existing position with weighted-average cost, or opens a new position for an unseen symbol. This bookkeeps a trade the user already placed with their broker — openInvest never places real orders.
decisionsGet the unified decision ledger: every committee verdict joined with rule interventions, the user's actual executions or refusals (with reasons), and post-hoc outcome data — plus an adoption-rate summary.
depositRecord a cash deposit into the ledger, in any currency. Bookkeeping only — no real payment system is connected.
disciplineGet the committee's discipline ledger: how often it chose inaction (HOLD ratio), how many impulsive user trades its rules intercepted, and the counterfactual money saved/lost by those interventions (ADR-023: the system's proven value is discipline and transparency, not alpha).
explain_decisionGet the full reasoning behind one committee verdict: the complete 4-role debate transcript with the CIO memo, plus the path-probability snapshot the CIO saw at decision time.
historyGet the most recent trade records and committee verdict history.
ingest_eventFeed a finance news item you (the host agent) found into the event ledger. The backend LLM normalizes it, grades severity, maps affected symbols, and stores it for committee RAG recall.
live_pricesFetch a one-shot market backdrop: spot gold (USD/oz and CNY/gram), USDCNY and AUDCNY FX rates, the NDQ.AX ETF price, the VIX volatility index, and the 10-year US Treasury yield (TNX).
news_sourcesList the news feed sources the crawler pulls from: the built-in default feeds plus user-added extra feeds. Extra feeds can be added/removed with add_news_source / remove_news_source; defaults are fixed.
record_executionRecord whether the user executed or declined a committee verdict, with their reason. Appends to the execution ledger; idempotent — replaying the same record is a no-op, so retries are safe.
remove_news_sourcewrite actionRemove a user-added news feed by name or URL. Built-in default feeds cannot be removed.
run_committeewrite actionRun the 4-role LLM investment committee on a symbol (Direct path): Macro Strategist, Quant Analyst, and Risk Officer debate from isolated evidence, then a CIO synthesizes one calibrated BUY/HOLD/SELL-style verdict with a written memo.
sellRecord a sell in the local ledger: reduces the position's units (average cost unchanged) and credits cash in the holding's cost currency. Bookkeeps a trade already executed at the user's broker — openInvest never places real orders.
set_allocationswrite actionUpdate the strategy's target stock/cash allocation ratio. The two values must sum to ≈1.0; schema validation rejects and rolls back any write that would corrupt the strategy file.
statusGet a full snapshot of the user's portfolio: cash balances per currency, every holding with units / average cost / live price, and unrealized P&L per position and in total.
strategyGet the user's investment strategy: target stock/cash allocation, the list of tracked assets (per-asset investment cap, purchase channel, fee settings), and long-term insights distilled by the nightly Dreaming memory-consolidation job.
track_assetAdd a symbol to the tracked-asset list, or update an existing entry (idempotent upsert: only the fields you pass are changed). The tracked list decides which symbols the committee and DCA jobs cover.
untrack_assetwrite actionRemove a symbol from the tracked-asset list — the committee and DCA jobs stop covering it. Holdings and trade history are untouched; schema validation guarantees at least one tracked asset remains.
what_ifSimulate portfolio P&L for a hypothetical price move: "what happens to my portfolio if <symbol> moves ±pct% / reaches <price>". Pure arithmetic over current holdings — no LLM call, instant, free.
withdrawRecord a cash withdrawal from the ledger, in any currency. Fails if the balance is insufficient. Bookkeeping only — no real payment system is connected.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan169 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
What the publisher says
From the openInvest repository's README, as published. We do not edit it. Read it on GitHub
openInvest
A self-hosted investment decision engine built for modern AI agents. Multi-agent information isolation and cross-challenge protocol, providing an auditable decision trail (Audit Trail).
📚 Full Architecture Wiki · 🇨🇳 中文版
What is OpenInvest?
OpenInvest is a self-hosted investment decision engine built for modern AI agents.
It provides a verifiable investment committee, evidence-based reasoning, long-horizon backtesting, and auditable decision records. Instead of replacing Claude Code, Codex, Hermes, or OpenClaw, OpenInvest is designed to power them.
Live Performance & PnL
Data feed is automatically updated every 2 hours using jobs/pnl_snapshot and pushed to the pnl-data branch Upper half: 30-day net asset value trend · Lower half: Net asset value comparison against 8 benchmark assets (transparent disclosure, not an alpha claim—the committee's proven value is discipline and transparency, not excess return, see ADR-023) 📌 Note: The current chart shows the author's live production portfolio. After self-hosting, the system will automatically render your own equity curve based on the holdings defined in your memory/ directory.
<!-- OUTPERFORMFEEDSTART --> <!-- OUTPERFORMFEEDEND -->
- Benchmark Portfolio: The system introduces 8 standard control benchmarks across 4 quadrants (AI advisors / Mutual funds / Wealth management / Broad market index). For details on the comparison methodology and data cleaning logic, see docs/wiki/README.md.
Research & Falsification
System Self-Disclosure: This system is an auditing tool to eliminate human investment cognitive biases and enforce reasoning transparency, not a return-amplifying black box. Latest automated audit (docs/verdictaccuracy.md): Directional verdicts (excluding HOLD) have a true hit rate of 42.2% (n=56, below random); HOLD accounts for 56% of all decisions. The system's value lies in transparency and discipline (mostly staying inactive, low turnover), not directional prediction. Detailed log stream can be found in docs/verdictaccuracy.md.
This project systematically attempts to falsify its own edge and publishes negative results as-is. The deterministic features the committee reads, and the timing signals around them, were tested against pre-registered statistical gates — none survived as tradable alpha.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
claude mcp add openinvest -- uvx openinvest
openInvest: common questions
- Is openInvest MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the openInvest safety report
- How do I install openInvest?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does openInvest need an API key?
- No secret keys are declared. It reads 1 setting from the environment.
- Is openInvest maintained?
- The last commit was 3 days ago (2026-09-24). The latest release is v0.34.0.
- What can I use instead of openInvest?
- Servers from other publishers that do the same job: RoboSystems MCP server, Hive Intelligence MCP server and E Arveldaja MCP server. Compare all openInvest alternatives.
Alternatives to openInvest
Same job from other publishers: the closest match first, then the best rated.
- RoboSystemsAccounting knowledge graphs: SEC XBRL filings, QuickBooks ledgers, reports and forecasts over MCP.not reviewedGrowingA
Hive Intelligence MCPEvidence-backed crypto due diligence with sources, freshness, and a runtime receipt on every call.not reviewedEstablishedB- E ArveldajaEstonian e-arveldaja (RIK e-Financials) accounting — invoices, bank import, reports.not reviewedGrowingB
- CnbOfficial ČNB exchange rates — daily & historical CZK vs EUR, USD, 30+ currencies. For accounting.not reviewedGrowingA
- BexioSwiss accounting integration for Bexio. 314 tools: invoices, contacts, projects, account balancesnot reviewedGrowingA