FinAgent MCP
Enables LLMs to access banking, investment, and cryptocurrency data through a standardized MCP interface, featuring Plaid integration for account and transaction data and Robinhood for crypto trading with audit trails.
README
FinAgent MCP
MCP (Model Context Protocol) server for financial data integration, featuring Plaid banking/investment data and Robinhood cryptocurrency trading with advanced context engineering and evidence tracking for a financial data platform that provides LLMs with structured access to banking, investment, and cryptocurrency data through a standardized MCP interface. The system combines Node.js MCP tooling with Go-based data ingestion to deliver real-time financial insights with full observability and audit trails.
Architecture (Diagram via ChatGPT)
[Node MCP Server] ──► [Go Ingestion Service] ──► [External APIs]
• Tool registry • Plaid sync • Plaid API
• Context packer • Robinhood client • Robinhood API
• Evidence builder • Webhook handlers
• Rate limiting • Data encryption
│ │
▼ ▼
[PostgreSQL] [Redis Cache]
Data storage Rate limits
Audit trails Idempotency
Components:
- Node MCP Server: TypeScript-based tool execution and context engineering
- Go Ingestion Service: High-performance data synchronization and API integration
- PostgreSQL: Primary data storage with full audit trails
- Redis: Caching, rate limiting, and idempotency locks
Features
Banking & Investment Tools
- Account management and monitoring
- Transaction analysis with advanced filtering
- Spending summaries and categorization
- Investment holdings and performance tracking
- Investment transaction history
Cryptocurrency Trading
- Real-time crypto portfolio monitoring
- Secure order placement with safety guardrails
- Risk assessment and position sizing limits
- Dry-run mode for safe testing
Other
- Context packing with intelligent data ranking
- Evidence tracking for auditable data lineage
- OpenTelemetry distributed tracing
- Production-ready rate limiting and security
Environment Variables
Create a .env file in the project root:
DATABASE_URL=postgres://postgres:postgres@localhost:5432/finagent?sslmode=disable
REDIS_URL=redis://localhost:6379
PLAID_CLIENT_ID=plaid_client_id
PLAID_SECRET=plaid_secret
PLAID_ENVIRONMENT=sandbox
ROBINHOOD_USERNAME=robinhood_username
ROBINHOOD_PASSWORD=robinhood_password
ENCRYPTION_KEY=32_char_encryption_key
GO_SERVICE_URL=http://localhost:8081
MCP_SERVICE_URL=http://localhost:3001
WEB_SERVICE_URL=http://localhost:3000
JAEGER_ENDPOINT=http://localhost:14268/api/traces
NODE_ENV=development
LOG_LEVEL=info
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.