Buffett-style value investing analysis as an MCP server for Claude Desktop
Project description
suparich
Buffett-style value investing analysis as an MCP server for Claude Desktop.
Ask Claude to analyze any stock using a disciplined framework based on Warren Buffett and Charlie Munger's principles. It screens for earnings yield, ROIC, and classifies opportunities into four actionable lists.
Install
pip install suparich
Configure Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"suparich": {
"command": "suparich"
}
}
}
Restart Claude Desktop. You'll see the tools available in the MCP toolbar.
Tools
| Tool | What it does |
|---|---|
analyze_stock |
Full analysis: earnings yield + ROIC + classification + guidance |
calculate_earnings_yield |
3-year avg operating income / enterprise value (threshold: >10%) |
calculate_roic |
5-year average ROIC (>15% good, >25% wonderful) |
classify_investment |
Assigns stock to List 1-4 based on quality + price |
get_framework |
Returns the complete investing framework reference |
The Framework
Stocks are classified into four lists:
- List 1 - Good business at wonderful price (ROIC 15-25%, earnings yield >10%). Classical Graham value play, 3-5 year hold.
- List 2 - Wonderful business at fair price (ROIC >25%, fair valuation). Buy and hold forever, let quality compound.
- List 3 - FAT PITCH: wonderful business at wonderful price (ROIC >25%, earnings yield >10%). Rare. Size aggressively.
- List 4 - Wonderful business, overvalued (ROIC >25%, earnings yield <10%). Study now, buy when price drops.
If a stock doesn't pass both screens (ROIC >15% and earnings yield >10%), it's a pass.
Usage
Just ask Claude naturally:
"Analyze Apple as a value investment. Use their last 3 years of operating income and 5 years of ROIC data."
Claude will pull the financial data (via SEC EDGAR or other sources), feed it through the framework, and give you a classification with actionable guidance.
Development
git clone https://github.com/Owen-x-tech/suparich.git
cd suparich
pip install -e .
suparich # starts the MCP server (waits for stdio input)
Disclaimer
This is an educational tool implementing a value investing framework. It is not financial advice. Always do your own research before making investment decisions. Past performance does not guarantee future results.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file suparich-0.1.0.tar.gz.
File metadata
- Download URL: suparich-0.1.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b23c2e39b3b9c3198f33cd92c0e7e87cf951148f517554c539b889a19c042bfa
|
|
| MD5 |
5b848f2c661a96765e0fcef4e07f7c1b
|
|
| BLAKE2b-256 |
b1dcf6529bcd7f875d7a994bde09f775066b607cdc4b57df7fce2935d6d0d1ef
|
Provenance
The following attestation bundles were made for suparich-0.1.0.tar.gz:
Publisher:
publish.yml on Owen-x-tech/suparich
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
suparich-0.1.0.tar.gz -
Subject digest:
b23c2e39b3b9c3198f33cd92c0e7e87cf951148f517554c539b889a19c042bfa - Sigstore transparency entry: 982357267
- Sigstore integration time:
-
Permalink:
Owen-x-tech/suparich@0f859e91a94557163d3af85b73eb47b1cd54f738 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Owen-x-tech
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0f859e91a94557163d3af85b73eb47b1cd54f738 -
Trigger Event:
release
-
Statement type:
File details
Details for the file suparich-0.1.0-py3-none-any.whl.
File metadata
- Download URL: suparich-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9afd3756451f7d311794d6cfddadcb278cbd6f53edf63114857d977141cbd6b
|
|
| MD5 |
5d36d09eb5bc9937ade7d0397bb9d168
|
|
| BLAKE2b-256 |
73ebd90e34db5f43a19428acdd87654b72dcf6038ae064801a5e26e8e38f1d0e
|
Provenance
The following attestation bundles were made for suparich-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on Owen-x-tech/suparich
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
suparich-0.1.0-py3-none-any.whl -
Subject digest:
a9afd3756451f7d311794d6cfddadcb278cbd6f53edf63114857d977141cbd6b - Sigstore transparency entry: 982357319
- Sigstore integration time:
-
Permalink:
Owen-x-tech/suparich@0f859e91a94557163d3af85b73eb47b1cd54f738 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Owen-x-tech
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0f859e91a94557163d3af85b73eb47b1cd54f738 -
Trigger Event:
release
-
Statement type: