Back to directory
Investbrain

Investbrain

Free

Free, self-hostable tracker for listed stocks and ETFs, with a real REST API and AI chat on your own model or key.

Self-hosters who want their tracker on their own server get a tidy option in Investbrain. It's free: the official Docker image has over 90,000 pulls, and the hosted version asks for no payment either. You enter buys and sells by hand, prices come from a market-data provider you can swap, and an AI chat answers questions about your holdings through OpenAI, Anthropic, Gemini or a local model in Ollama, with your own key. The REST API is properly documented, with a published OpenAPI spec. Two limits show up in its code. Every holding must be a ticker the price provider knows, so property, cash, bonds and crypto are out. And the gain is market value minus average cost, with no time- or money-weighted return. The CC-BY-NC 4.0 licence allows personal use but not commercial use, so despite the README's wording it isn't open source in the OSI sense.

Features at a glance

FeatureInvestbrain
PricingFree
Tracking & data
Manual entryYes
CSV / broker import. Import holdings and transactions from broker or exchange CSV files.Partial
Automatic bank/broker sync. Connects to your bank or broker to pull holdings in automatically.Not supported
Multi-assetNot supported
Multi-currencyYes
Dividend trackingYes
Dividend/income forecast. Projects future dividend income and shows an income calendar.Not supported
Tax reportsNot supported
Analysis & insights
AI portfolio analysisYes
AI asset & market analysis. AI commentary on individual holdings and market context, not just the whole portfolio.Partial
Portfolio health score. A single score rating diversification, concentration and other portfolio-health signals.Not supported
Rebalancing & drift. Shows how far your allocation has drifted from target and how to correct it.Not supported
Goal & time-to-goalNot supported
Custom groupings / tags. Group holdings by your own dimensions (e.g. strategy, theme), not just asset class.Not supported
Return method (TWR/MWR). True time-weighted (TWR) and money-weighted (MWR/XIRR) return — not just a simple % change.Not supported
Benchmark & alpha. Compare returns against a benchmark, including alpha.Not supported
Backtesting & scenarios. Test a portfolio against historical data or run scenario simulations.Partial
Access & pricing
Free tierYes
No account linking required. Works without connecting a bank login or aggregator.Yes
Open sourcePartial
Self-hostableYes
Public APIYes
Platform & reach
Mobile appPartial
Multi-languageYes
Community & extras
Public / social portfolios. Share your portfolio publicly and follow other investors.Not supported
AI portfolio roast. A shareable AI roast: a frank critique of a portfolio.Not supported
LegendSupportedPartial / limitedChecked — not availableNot verified yet

Best for

Developers with a server at home who hold listed stocks and ETFs and want their data and their AI under their own control. Skip it if you hold anything without a ticker or want fees in your records: the transaction form has no field for fees, commission or tax.

Strengths

  • Documented REST API with tokens and a published OpenAPI spec
  • AI chat on OpenAI, Anthropic, Gemini or a local model, with your own key
  • Free to self-host, with a currency per transaction converted at ECB rates

Trade-offs

  • Gain is value minus average cost, with no time- or money-weighted return and no benchmark
  • Listed securities only: no property, cash, bonds or crypto
  • Non-commercial CC-BY-NC 4.0 licence, one maintainer and no native phone app

Investbrain vs PortfolioGlance

Your own server, readable code and an API are what Investbrain offers and we don't. If running your own instance matters, it's the better pick. Our case is the number and the breadth. We measure returns time- and money-weighted and compare them with an index, and we hold property, deposits and crypto next to stocks. Rebalancing against your targets and a goal with a date are built in, and our AI assistant needs no API key from you.

Try PortfolioGlance free

Compare with

Alternatives and rankings

Verified 7/21/2026Sources: Investbrain — GitHub repository (867★, CC-BY-NC 4.0)Investbrain — LICENSE.md (Creative Commons Attribution-NonCommercial 4.0)GitHub API — license classified NOASSERTION / "Other"Holding.php — return computed as (market_value − average_cost_basis) × qtyInvestbrain API — published OpenAPI v3 spec

This is our editorial review, not financial advice. Features and prices may have changed since we checked, so see the official site for the latest.