Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

suparich-0.1.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

suparich-0.1.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

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

Hashes for suparich-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b23c2e39b3b9c3198f33cd92c0e7e87cf951148f517554c539b889a19c042bfa
MD5 5b848f2c661a96765e0fcef4e07f7c1b
BLAKE2b-256 b1dcf6529bcd7f875d7a994bde09f775066b607cdc4b57df7fce2935d6d0d1ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for suparich-0.1.0.tar.gz:

Publisher: publish.yml on Owen-x-tech/suparich

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for suparich-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9afd3756451f7d311794d6cfddadcb278cbd6f53edf63114857d977141cbd6b
MD5 5d36d09eb5bc9937ade7d0397bb9d168
BLAKE2b-256 73ebd90e34db5f43a19428acdd87654b72dcf6038ae064801a5e26e8e38f1d0e

See more details on using hashes here.

Provenance

The following attestation bundles were made for suparich-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Owen-x-tech/suparich

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page