munger-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Charlie Munger Investment Analysis ๐ฏ
"I'm not paid to be easy. I'm paid to be right." - Charlie Munger
AI-powered investment analysis using Charlie Munger's wisdom and framework. Available as both an MCP server for Claude Code and a universal Web API.
Features
๐ง Authentic Charlie Munger AI - Trained on Munger's actual investment philosophy
โก Kill-Switch Framework - Automatic rejection of bad investments
๐ 100-Point Scoring System - Quantitative analysis with qualitative insights
๐ Smart Company Search - Yahoo Finance API integration with fuzzy matching
๐ International Coverage - Supports global exchanges (US, Europe, Asia)
๐ฌ Conversational Follow-ups - Ask deeper questions about any analysis
๐ Multi-Stock Comparison - Rank investments head-to-head
๐ Two Interfaces - MCP server + Web API
Related MCP server: deeplook
Quick Start
Install Package
# Basic installation (MCP server only)
pip install financial-advisor-munger
# With web API support
pip install financial-advisor-munger[web]
# Development version
pip install financial-advisor-munger[web,dev]Option 1: MCP Server (Claude Code)
# Start MCP server
munger-mcp
# Configure in Claude Code MCP settings:
{
"mcpServers": {
"munger": {
"command": "munger-mcp",
"args": []
}
}
}Then use in Claude Code:
Can you analyze Apple stock using Munger's framework?Option 2: Web API (Universal)
# Start web API server
munger-web --port 8000
# Server runs at http://localhost:8000
# API docs at http://localhost:8000/docsPython Example:
import requests
# Analyze a stock
response = requests.post("http://localhost:8000/analyze",
json={"symbol": "AAPL"})
analysis = response.json()
print(f"Recommendation: {analysis['analysis']['recommendation']}")
print(f"Munger Score: {analysis['analysis']['munger_score']}/100")
print(f"Reasoning: {analysis['analysis']['key_reasoning'][0]}")JavaScript Example:
// Analyze Apple stock
fetch('http://localhost:8000/analyze', {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({symbol: 'AAPL'})
})
.then(r => r.json())
.then(data => {
console.log(`${data.analysis.recommendation}: ${data.analysis.munger_score}/100`);
console.log(data.analysis.munger_voice);
});cURL Example:
# Get Munger's take on Tesla
curl -X POST http://localhost:8000/analyze \
-H "Content-Type: application/json" \
-d '{"symbol": "TSLA"}'API Endpoints
Endpoint | Method | Description |
| POST | Full Munger analysis of a stock |
| POST | Ask follow-up questions |
| POST | Compare multiple stocks |
| POST | Search for companies |
| GET | Raw financial data |
| GET | API health check |
Docker Deployment
# Build and run
docker build -t munger-api .
docker run -p 8000:8000 munger-api
# Or use docker-compose
docker-compose up -dRailway/Heroku Deployment
Railway:
# Deploy to Railway
railway login
railway init
railway add
railway deployHeroku:
# Deploy to Heroku
heroku create your-munger-api
git push heroku mainEnvironment Variables
# Optional configuration
MUNGER_API_HOST=0.0.0.0 # API host
MUNGER_API_PORT=8000 # API port
MUNGER_LOG_LEVEL=info # Logging level
MUNGER_CACHE_TTL=300 # Cache duration (seconds)Example Analysis Output
{
"success": true,
"symbol": "AAPL",
"company": "Apple Inc.",
"analysis": {
"recommendation": "APPROVED",
"munger_score": 85,
"key_reasoning": [
"Exceptional brand moat creates pricing power",
"Capital-light ecosystem generates massive cash flows",
"Management obsessed with capital efficiency"
],
"munger_voice": "Apple's got something I respect: a business so good that even the government can't screw it up. When customers line up to pay premium prices for incremental improvements, you've got pricing power that would make John D. Rockefeller jealous...",
"kill_switches": [],
"follow_up_suggestions": [
"what_could_go_wrong",
"historical_context",
"management_assessment"
]
}
}International Stocks
# European stocks
requests.post("/analyze", json={"symbol": "PNDORA.CO"}) # Pandora (Copenhagen)
requests.post("/analyze", json={"symbol": "NESN.SW"}) # Nestlรฉ (Swiss)
# Asian stocks
requests.post("/analyze", json={"symbol": "7203.T"}) # Toyota (Tokyo)
requests.post("/analyze", json={"symbol": "0700.HK"}) # Tencent (Hong Kong)Development
# Clone and setup
git clone https://github.com/user/financial-advisor-munger
cd financial-advisor-munger
pip install -e .[web,dev]
# Run tests
pytest
# Format code
black src/
ruff check src/
# Build package
python -m build
# Local development server
munger-web --reload --host 127.0.0.1Contributing
Fork the repository
Create a feature branch
Add tests for new functionality
Ensure code passes
blackandruffchecksSubmit a pull request
License
MIT License - see LICENSE file.
Disclaimer
This tool provides AI-generated investment analysis for educational purposes. Not financial advice. Charlie Munger's actual opinions may vary. Past performance doesn't predict future results.
"The big money is not in the buying and selling, but in the waiting." - Charlie Munger
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
This server cannot be deployed
Maintenance
Related MCP Connectors
Your investing research inside Claude: watchlists, financial ratios, reverse-DCF valuations, investment theses, notes, portfolio, earnings calendar and news for the companies you follow. 70 read and write tools; ask what's on your morning desk, rank a watchlist by ROE, log a trade or save a thesis. OAuth sign-in. Free to start.
Portfolio analytics + US-equity market research for AI clients. ChatGPT deep-research compat.
AI equity research: stock analysis, fundamentals, valuation, insider trades and portfolio audits.
Stock health scores, valuation verdicts, sector rankings and analyses for 8,000+ US companies.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables comprehensive stock market analysis with portfolio management, technical indicators, dividend tracking, sector analysis, risk metrics, and price alerts. Provides real-time stock data, trend analysis, and investment insights through natural language interactions.1-
- AlicenseAqualityDmaintenanceResearches any company in ~10 seconds using 10 data sources. Returns structured reports with bull/bear verdict for stocks, crypto, and private companies.213AGPL 3.0

Rozkoduj MCPofficial
AlicenseAqualityAmaintenanceProvides AI assistants with market screening, analysis, and scoring across stocks, crypto, and forex, enabling natural language queries for trading insights.4MIT- FlicenseNot gradedqualityBmaintenanceEnables AI clients to analyze stocks and get scored BUY/HOLD/SELL assessments with technical and fundamental data for Indian (NSE/BSE) and US markets.-