An investment analyst that runs on your own machine.

Ask it whether a company is worth owning and it does the work properly: pulls the filings, walks through a written valuation procedure, checks it against what you already hold, and tells you what it found. It remembers your goals between conversations, and nothing about your portfolio ever leaves your laptop.

a conversation with InvestPal

> is ASML expensive at these levels?

Checking your profile, pulling the financials, and running the intrinsic value procedure.

You hold this for the long run and you prefer franchises, so the question is whether the moat justifies the price.

Net asset (reproduction) value ~€118 / share Earnings power value ~€196 / share Earnings power above asset value a franchise, not a commodity business

At €742 you are paying roughly 3.8× earnings power, so almost the whole price is growth you have not seen yet. That is defensible only if the moat holds for a decade. Shall I test the moat next?

Illustrative. The figures above are invented for this page and are not output from a real run.

Written analytical procedures
15
Free primary data sources
8
Brokerages supported
3
File on your machine
1

Ways to use it

Use it where you already talk to AI.

Mostly it plugs into the tools you already have, and you talk to it the way you already do. There is a web app too, if you would rather have one.

Recommended

Claude Code

Run Claude Code inside the InvestPal folder and it becomes the analyst. It picks up your profile at the start of every session, has the full research and brokerage toolset, and runs any reviews that have come due while you were away.

In your browser

The web app

A local browser app, started with one command alongside everything else. Chat with the full history of every past conversation, schedule the reviews that run without you and read their reports, and see what it is holding on to for you. It runs on your machine like the rest of it, and because it drives InvestPal's own agent rather than borrowing Claude Code's, this is the one surface that needs an Anthropic or OpenAI key.

No terminal needed

Claude Desktop

Add InvestPal to Claude Desktop and ask your questions in an ordinary chat. Best if you dip in occasionally rather than sitting down to a research session.

Bring your own

Any MCP client

InvestPal speaks the Model Context Protocol over HTTP, so any assistant that supports MCP can use the same tools. Claude Code and Claude Desktop are the two documented setups, and other clients follow the same pattern.

Build on it

Your own app

There is a REST API underneath if you want to put your own interface on top, or wire InvestPal into something you already run.

What it does

Four things a good analyst does for you.

01

Researches anything you can name

Stocks, ETFs, cryptocurrencies, commodities, currencies and economic indicators. It can look up a company's financial statements, see which sectors are moving, read who has been buying their own shares, check what well-known investors hold, and even pull the odds markets are putting on real-world events.

02

Remembers you between conversations

Tell it your risk tolerance, your horizon and what you are trying to achieve, once. It builds a picture of you and keeps notes as you talk, searchable by meaning rather than by exact words, so you can ask what you concluded about something months ago. A second agent maintains that memory quietly in the background so your conversation is never interrupted by bookkeeping.

03

Keeps working when you close the laptop

Ask it to watch something and it will. It tracks the dates you care about and reminds you, and it can run reviews on a schedule, a portfolio check every Monday morning for instance, leaving the write-up waiting for you next time you open it.

04

Sees your real portfolio, if you let it

Connect Alpaca, Coinbase or Interactive Brokers and the advice is about what you actually hold, not a hypothetical. This is entirely optional and off until you turn it on. You can keep it read-only so it can look but never act. When it can place orders, Alpaca points at a paper account until you deliberately change that, and Interactive Brokers keeps every order off the market until you confirm it.

You do not need a brokerage account to use InvestPal. It works as a research companion on market data alone. Connecting a broker is something you can do later, or never.

The method

It follows a method, not a mood.

Most AI gives you a fluent answer assembled on the spot. InvestPal works through a written procedure instead, the same one every time, so you can tell the difference between analysis and a confident paragraph. Fifteen of them are built in, drawn from Graham and Dodd on valuation and Howard Marks on cycles and risk.

“Risk is not volatility. A stock that drops 50% while its intrinsic value remains unchanged has become less risky.”
From the portfolio risk procedure
“Investment success comes from buying things well, not from buying good things.”
From the valuation procedure
“The danger is not having a wrong opinion. It is having the same opinion as everyone else and mistaking it for insight.”
From the second-level thinking procedure
“Themes are usually right about the world and wrong about the investment.”
From the investment theme procedure

Is this a good business?

  • Competitive moatWhether this is a franchise or a commodity business, judged by comparing its earnings power to what its assets are worth.
  • Earnings qualityWhether the reported profit is real, tested eight different ways.
  • Cash generationWhat the business actually produces once you strip out the spending it needs just to stand still.
  • Balance sheet strengthHow much it owes, what it owns, and whether it could survive a bad year.
  • Profitability and pricing powerSustainable operating income averaged across a full cycle, not a flattering quarter.
  • What management is signallingWhat their guidance and tone imply, and whether their spending matches their stated priorities.

What is it worth?

  • Intrinsic valueAsset value, earnings power, and growth counted only where a genuine franchise exists to protect it.
  • Price against valueWhether the price on offer is a good purchase, which is a separate question from whether it is a good business.
  • Against its peersRanked against three to six competitors on growth, profitability, multiples and balance sheet health.

Should I act now?

  • Second-level thinkingWhere your view actually differs from everyone else's, and whether you have a reason to be right.
  • Market temperatureA twenty-two point read on where the cycle stands, from euphoric to frozen.
  • Macro conditionsWhether today's earnings sit above or below what is sustainable, and what that does to the discount rate.
  • Testing a themeTurning a story about the future into a claim that could be proved wrong, then finding who in the chain actually captures the money.

How exposed am I?

  • Portfolio riskYour aggregate risk of permanent loss across eight dimensions, including correlations you did not know you had and what would force you to sell at the wrong moment.
  • Margin of safetyHow much would have to go wrong before you lose money, rather than simply miss out on some.

Every procedure is written out in full and versioned in the open, so you can read exactly what the analyst was asked to do before it answered you. See them on GitHub

Where the data comes from

Primary sources, not a data vendor.

The numbers come from the institutions that publish them and from official filings, so you can trace any figure back to where it came from. None of it sits behind a subscription.

Federal Reserve

Economic indicators and commodity prices, from the St. Louis Fed's FRED database.

European Central Bank

Official daily reference rates for currency conversion.

SEC EDGAR

Insider buying and selling, read straight from the Form 4 filings companies are required to make.

Dataroma

What well-known investors actually hold, compiled from their quarterly 13F disclosures.

stockanalysis.com

Company and ETF fundamentals, financial statements, sector performance and market news.

CoinGecko

Cryptocurrency prices, market data and search across thousands of coins.

CoinDesk and CoinTelegraph

Cryptocurrency news as it is published.

Polymarket

What prediction markets are pricing for real-world events.

No data subscription, no data-provider keys to manage, and no per-call bill for any of this. The only credentials InvestPal asks for are your own brokerage login details, and only if you decide to connect one.

Privacy

Everything stays on your machine.

There is no InvestPal server. No account, no sign-up, and no company holding a database of what you own. You run it, and it runs on your hardware.

  • One file, on your disk

    Your profile, your notes, your reminders and every report it has written for you live in a single file created the first time you start it. Back it up, move it, or delete it.

  • Nothing to sign up for

    No account, no login, no subscription and no multi-user database with your name in it.

  • Your notes are searched locally

    Finding an old note by meaning rather than keyword runs on your own processor. The text of your notes is never sent anywhere to make that work.

  • Brokerage credentials stay in one file you control

    They live in a single protected file on your own disk, read only by the part of InvestPal that talks to that brokerage. They are never written to the database and never sent anywhere but the brokerage itself.

  • Cloud backup only if you ask

    Optional sync to your own cloud database exists, and it runs only when you explicitly trigger it. Nothing syncs on a timer or behind your back.

InvestPal is built from five small services that all run on your machine. The full architecture and every line of source is on GitHub.

Get started

One command, then a conversation.

Setup is a single command that does everything: checks what you have, fetches what it needs, prepares your database and starts the whole thing running.

Terminal
$ git clone https://github.com/OrestisStefanou/InvestPalEcosystem
$ cd InvestPalEcosystem
$ make setup
$ make claude
  1. Run setup

    It checks what you already have installed and tells you what is missing, then fetches everything, writes your configuration, prepares your database and starts running.

  2. Answer three optional questions

    Whether to connect a brokerage, and whether to use your own AI provider key. All three default to no and every one can be skipped by pressing Enter.

  3. Start talking

    One more command opens the analyst. It introduces itself, asks what you are trying to achieve, and gets to work.

Run it yourself. Read every line.

InvestPal is a personal project, built in the open, and it runs entirely on your machine.

Not investment advice. InvestPal is software. Its output is generated by a large language model from public data and may be incomplete, out of date or simply wrong. It is not a regulated investment advisory service, no adviser-client relationship is created by using it, and nothing it produces is a personal recommendation. Brokerage integrations can place real orders when you configure them to; you are responsible for every order placed from your accounts. Do your own research, and take professional advice before making investment decisions.