portfolio-tracker-mcp-server
MCP server for the portfolio tracker
Documentation
Portfolio Tracker MCP Server
A Model Context Protocol (MCP) server that exposes portfolio tracking tools for AI clients.
Features
- Get Portfolio Positions: Retrieve all current positions
- Get Portfolio P&L: Calculate profit/loss with optional price refresh
- Refresh Portfolio Data: Force refresh of all price data from Yahoo Finance
- Get Position Details: Get specific position information
Setup
1. Install dependencies:
npm install2. Build the project:
npm run build3. Start the server:
npm startDevelopment
For development with auto-reload:
npm run devMCP Client Configuration
Claude Desktop
Add to your Claude Desktop configuration:
{
"mcpServers": {
"portfolio-tracker": {
"command": "node",
"args": ["/Users/goul/Development/portfolio-tracker-mcp-server/build/index.js"],
"env": {
"PORTFOLIO_API_URL": "http://localhost:3000"
}
}
}
}Environment Variables
- `PORTFOLIO_API_URL`: Base URL for the portfolio tracker API (default: http://localhost:3000)
- `DEBUG`: Set to "true" for verbose logging
Available Tools
1. get_portfolio_positions
2. get_portfolio_pnl
3. refresh_portfolio_data
4. get_position_details
Usage Examples
Once connected to an AI client, you can ask:
- "What's my current portfolio performance?"
- "Show me my positions"
- "Refresh my portfolio data and show the P&L"
- "How is my NVDA position performing?"
Frequently asked questions
What is portfolio-tracker-mcp-server?
portfolio-tracker-mcp-server is MCP server for the portfolio tracker
How do I install portfolio-tracker-mcp-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is portfolio-tracker-mcp-server open source?
Yes — it is hosted on GitHub at https://github.com/Gouliath1/portfolio-tracker-mcp-server.
Related MCP tools
Model Context Protocol Servers
The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra
A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you
MCP server to provide Figma layout information to AI coding agents like Cursor
The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Instant is the best backend for AI-coded apps. You get auth, permissions, storage, presence, and streams — everything you need to ship apps your users will love.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP