finwatch-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@finwatch-mcpWhat's my current portfolio allocation?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
📊 finwatch-mcp
A custom MCP Server for financial portfolio monitoring, risk analysis, and compliance — powered by LangGraph + Claude.
Turn natural language into actionable financial intelligence. Ask your portfolio questions like "What's my risk exposure to tech stocks?" or "Flag any anomalous movements in the last 24h" and get data-driven answers in seconds.
Architecture
┌─────────────────────────────────────────────────────────┐
│ CLIENT LAYER │
│ Claude Desktop │ Gradio UI │ CLI │ Telegram │
└────────────────────────┬────────────────────────────────┘
│ MCP Protocol (JSON-RPC)
┌────────────────────────▼────────────────────────────────┐
│ LANGGRAPH AGENT (Orchestrator) │
│ Multi-step reasoning · Report generation · Triage │
│ Claude API · StateGraph · Human-in-the-loop │
└────────────────────────┬────────────────────────────────┘
│ MCP Tool Calls
┌────────────────────────▼────────────────────────────────┐
│ FINWATCH MCP SERVER │
│ │
│ ┌──────────────┐ ┌──────────────┐ ┌────────────────┐ │
│ │ get_portfolio │ │ analyze_risk │ │ detect_anomaly │ │
│ └──────────────┘ └──────────────┘ └────────────────┘ │
│ ┌──────────────┐ ┌──────────────┐ ┌────────────────┐ │
│ │search_filings│ │get_market_kpi│ │compliance_check│ │
│ └──────────────┘ └──────────────┘ └────────────────┘ │
└────────────────────────┬────────────────────────────────┘
│
┌────────────────────────▼────────────────────────────────┐
│ DATA LAYER │
│ SQLite (prices, KPIs) │ ChromaDB (SEC filings, RAG) │
│ Alpha Vantage · Finnhub · FRED · SEC EDGAR │
└─────────────────────────────────────────────────────────┘Related MCP server: QuantClaw Data
Features
MCP Server Tools
Tool | Description |
| Real-time portfolio status: holdings, P&L, sector allocation |
| Risk metrics: VaR, Sharpe ratio, Beta, max drawdown |
| Flag unusual price movements, volume spikes, correlation breaks |
| RAG-powered semantic search over SEC filings and earnings reports |
| Macro indicators: interest rates, inflation, sector performance |
| Validate portfolio against exposure limits and concentration rules |
LangGraph Agent
Multi-step reasoning: chains tool calls to answer complex questions
Report generation: automated daily/weekly portfolio summaries
Anomaly triage: investigates detected anomalies with root cause analysis
Human-in-the-loop: asks for confirmation before high-impact actions
Quick Start
Prerequisites
Python 3.11+
uv (recommended) or pip
API keys: Alpha Vantage (free), Finnhub (free), Anthropic (for agent)
Installation
# Clone the repo
git clone https://github.com/geraldo96/finwatch-mcp.git
cd finwatch-mcp
# Install with uv (recommended)
uv sync
# Or with pip
pip install -e ".[dev]"
# Copy environment template
cp .env.example .env
# Edit .env with your API keysRun the MCP Server
# Start the MCP server (Streamable HTTP)
uv run python -m src.mcp_server.server
# The server runs on http://localhost:8080/mcpConnect to Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"finwatch": {
"type": "http",
"url": "http://localhost:8080/mcp"
}
}
}Run the LangGraph Agent (standalone)
# Interactive CLI mode
uv run python -m src.agent.cli
# Example queries:
# > What's my current portfolio allocation?
# > Is my tech exposure within compliance limits?
# > Show me anomalies from the last week and explain themRun with Docker
docker compose up
# MCP server: http://localhost:8080/mcp
# Gradio UI: http://localhost:7860Data Sources
Source | Data | API Key | Rate Limit (free) |
Stock prices, fundamentals | Free | 25 req/day | |
Real-time quotes, news, sentiment | Free | 60 req/min | |
Macro indicators, interest rates | Free | 120 req/min | |
10-K, 10-Q filings | None | 10 req/sec | |
Historical prices (backup) | None | Unofficial |
Project Structure
finwatch-mcp/
├── src/
│ ├── mcp_server/
│ │ ├── server.py # MCP server entrypoint (Streamable HTTP)
│ │ ├── tools/
│ │ │ ├── portfolio.py # get_portfolio tool
│ │ │ ├── risk.py # analyze_risk tool
│ │ │ ├── anomaly.py # detect_anomaly tool
│ │ │ ├── filings.py # search_filings tool (RAG)
│ │ │ ├── market_kpi.py # get_market_kpi tool
│ │ │ └── compliance.py # compliance_check tool
│ │ └── config.py # Server configuration
│ ├── agent/
│ │ ├── graph.py # LangGraph StateGraph definition
│ │ ├── nodes.py # Agent nodes (reason, act, report)
│ │ ├── state.py # Agent state schema
│ │ └── cli.py # Interactive CLI client
│ ├── data/
│ │ ├── ingester.py # Data fetching & sync logic
│ │ ├── models.py # SQLAlchemy / Pydantic models
│ │ └── db.py # Database connection & queries
│ └── rag/
│ ├── embeddings.py # BAAI embedding pipeline
│ ├── indexer.py # SEC filing indexer
│ └── retriever.py # ChromaDB retrieval
├── tests/
│ ├── test_tools.py # Unit tests for MCP tools
│ ├── test_agent.py # Agent integration tests
│ └── test_data.py # Data layer tests
├── scripts/
│ ├── seed_data.py # Seed DB with sample portfolio
│ ├── ingest_filings.py # Download & index SEC filings
│ └── demo.py # Full demo walkthrough
├── docs/
│ ├── ARCHITECTURE.md # Detailed architecture docs
│ └── TOOLS.md # MCP tool specifications
├── docker-compose.yml
├── Dockerfile
├── pyproject.toml
├── .env.example
└── README.mdDevelopment Roadmap
Week 1 — Foundation
Project scaffold & CI setup
MCP server with
get_portfolioandanalyze_risktoolsSQLite data layer + Alpha Vantage / yfinance ingestion
Sample portfolio seeding script
Week 2 — RAG & Anomaly Detection
ChromaDB setup + SEC EDGAR filing indexer
search_filingstool with BAAI embeddingsdetect_anomalytool (z-score + rolling stats)get_market_kpitool (FRED integration)
Week 3 — Agent & Orchestration
LangGraph StateGraph with Claude API
Multi-step reasoning chains
compliance_checktoolInteractive CLI client
Week 4 — Polish & Deploy
Docker Compose (server + agent + Gradio UI)
Comprehensive tests
Demo video / GIF
Hugging Face Space (optional)
Tech Stack
Layer | Technology |
MCP Server | Python |
Agent | LangGraph, Claude API (Anthropic SDK) |
Structured Data | SQLite + SQLAlchemy |
Vector Store | ChromaDB + BAAI/bge-small-en-v1.5 |
Data Sources | Alpha Vantage, Finnhub, FRED, SEC EDGAR, yfinance |
UI | Gradio (demo), Claude Desktop (production) |
Deploy | Docker Compose |
Testing | pytest, pytest-asyncio |
Contributing
Contributions are welcome! Please read the contributing guidelines first.
License
MIT License — see LICENSE for details.
Built by Geraldo Margjini as a portfolio project demonstrating MCP Server development, LangGraph agent orchestration, and financial data engineering.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables 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.Last updated
- Flicense-quality-maintenanceProvides access to a comprehensive financial intelligence platform featuring real-time market data, quantitative models, and alternative data sources. It enables users to perform advanced financial analysis including options analytics, portfolio modeling, and SEC filing research.Last updated

Rozkoduj MCPofficial
AlicenseAqualityAmaintenanceProvides AI assistants with market screening, analysis, and scoring across stocks, crypto, and forex, enabling natural language queries for trading insights.Last updated4MIT
secapi-mcpofficial
AlicenseAqualityCmaintenanceEnables AI clients to search and analyze SEC filings, financial statements, insider trades, and institutional holdings through natural language tools.Last updated9241MIT
Related MCP Connectors
Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.
Source-linked SEC 13F research, quality checks, watchlists and audit trails for agents.
The financial MCP for AI agents - 90+ financial tables, SEC filings, signals, alt-data.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/geraldo96/finwatch-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server