
Research
/Security News
Two Joyfill npm Beta Releases Compromised to Deliver DEV#POPPER Remote Access Trojan
Two Joyfill npm beta releases contain an import-time implant that uses blockchain transactions to retrieve a remote-access trojan.
value-investing-agent
Advanced tools
AI-powered MCP server for value investors. Analyze stocks using principles from Benjamin Graham and Warren Buffett.
An AI-powered MCP server for value investors. Analyze stocks using principles from Benjamin Graham and Warren Buffett. Every value investor deserves their own AI agent.
"Price is what you pay. Value is what you get." - Warren Buffett
This tool is for educational and research purposes only. It does not constitute investment advice. Investing involves risks, including the potential loss of principal. The author is not responsible for any investment decisions made based on this tool.
Note: This is a standalone MCP server that can run on Windows, macOS, or Linux. It can be used with any application that supports the Model Context Protocol, not just Claude products.
No installation required. Configure MCP directly:
{
"mcpServers": {
"value-investing-agent": {
"command": "npx",
"args": ["-y", "value-investing-agent"]
}
}
}
npm install -g value-investing-agent
Configure MCP:
{
"mcpServers": {
"value-investing-agent": {
"command": "value-investing-agent"
}
}
}
git clone https://github.com/danielchu97/Value-Investing-Agent.git
cd Value-Investing-Agent
npm install
npm run build
Configure MCP:
{
"mcpServers": {
"value-investing-agent": {
"command": "node",
"args": ["/path/to/value-investing-agent/dist/index.js"]
}
}
}
Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json"Get me the current quote for Apple"
"What's the price of MSFT?"
"Calculate the intrinsic value of AAPL"
"What is Amazon's fair value using DCF?"
"Analyze the competitive moat of Coca-Cola"
"Does Microsoft have a wide moat?"
"Add GOOGL to my watchlist in the Technology group"
"Show my watchlist"
"Remove TSLA from watchlist"
"Generate a daily report for my watchlist"
"Create a detailed analysis report for Berkshire Hathaway"
| Tool | Description |
|---|---|
get_stock_quote | Get real-time stock quote and metrics |
get_financials | Fetch financial statements (income, balance, cash flow) |
calculate_intrinsic_value | DCF and Graham valuation with margin of safety |
analyze_moat | Evaluate competitive advantages |
get_news | Get stock-related news articles |
manage_watchlist | Manage your personal stock watchlist |
generate_daily_report | Daily summary of watchlist stocks |
generate_stock_report | Comprehensive value investing analysis |
set_provider | Switch data provider |
list_providers | List available data providers |
The plugin architecture allows you to add your own data sources. See Custom Provider Guide.
| Provider | API Key | Rate Limit | Best For |
|---|---|---|---|
| yahoo-finance (default) | Not required | Limited (may hit 429 errors) | Quick testing |
| finnhub | Required (free) | 60 calls/min | Production use |
| alpha-vantage | Required (free) | 5 calls/min | Basic data needs |
Finnhub (Recommended for reliable access):
export FINNHUB_API_KEY=your_api_key_here
Or in Claude Desktop config:
{
"mcpServers": {
"value-investing-agent": {
"command": "npx",
"args": ["-y", "value-investing-agent"],
"env": {
"FINNHUB_API_KEY": "your_api_key_here"
}
}
}
}
Alpha Vantage:
ALPHA_VANTAGE_API_KEY=your_key"Switch to finnhub provider"
"Use alpha-vantage for data"
"List available providers"
src/providers/provider-template.tsDataProvider interfacesrc/providers/index.tsimport { MyProvider } from './my-provider';
registerProvider('my-provider', (config) => new MyProvider(config));
This tool is built on timeless investment principles:
A company's true worth based on future cash flows, not market price.
Buy only when price is significantly below intrinsic value (25%+ discount).
Seek durable competitive advantages that protect profits.
Only invest in businesses you understand.
Use market emotions as opportunities, don't be ruled by them.
# Install dependencies
npm install
# Build
npm run build
# Development mode (watch)
npm run dev
# Run tests
npm test
# Lint
npm run lint
value-investing-agent/
├── src/
│ ├── index.ts # Entry point
│ ├── server.ts # MCP server
│ ├── providers/ # Data providers
│ ├── tools/ # MCP tools
│ ├── analysis/ # Analysis engine
│ ├── utils/ # Utilities
│ ├── config/ # Configuration
│ └── types/ # TypeScript types
├── skills/ # Claude skills
├── data/ # Local data (watchlist, cache)
├── docs/ # Documentation
└── tests/ # Test files
Contributions are welcome! Please read our contributing guidelines before submitting PRs.
MIT License - see LICENSE for details.
This project is inspired by the investment wisdom of:
Remember: "The stock market is designed to transfer money from the active to the patient." - Warren Buffett
FAQs
AI-powered MCP server for value investors. Analyze stocks using principles from Benjamin Graham and Warren Buffett.
The npm package value-investing-agent receives a total of 3 weekly downloads. As such, value-investing-agent popularity was classified as not popular.
We found that value-investing-agent demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Two Joyfill npm beta releases contain an import-time implant that uses blockchain transactions to retrieve a remote-access trojan.

Security News
Socket releases free Certified Patches for high-severity Nuxt vulnerabilities, including server-side remote code execution through server island props.

Security News
An open letter signed by 50 companies, from NVIDIA and Microsoft to Mistral and Hugging Face, urges Washington not to restrict open weight AI.