plaid-mcp-server
A self-hosted MCP server that lets Claude query your bank accounts, balances, and transactions through Plaid.
README
plaid-mcp
A self-hosted MCP server that lets Claude query your bank accounts, balances, and transactions through Plaid.
Tools
| Tool | Description |
|---|---|
accounts |
All linked bank accounts |
balances |
Current/available balances and credit limits |
transactions |
Full transaction history for a date range |
total_spending |
Total spending broken down by category |
transactions_by_category |
Filter transactions by Plaid PFC category |
merchants |
All merchants for a date range, sorted by total spend |
transactions_by_merchant |
Filter transactions by merchant name |
How it works
- OAuth 2.1 + PKCE with Google as the identity provider
- Email allowlist is the security boundary
- Claude.ai gets a 30-day bearer token; your Plaid access token never leaves your server
- Caddy sits in front of FastAPI, terminating TLS on port 443 with auto-provisioned Let's Encrypt certs and reverse-proxying to
localhost:8080
Requirements
- A Linux server with a public IP (this guide uses an AWS EC2
t3.micro) - A domain name pointing at it (this guide uses a free DuckDNS subdomain)
- A Plaid developer account with production access
- A Google Cloud account for the OAuth client
Setup
1. Plaid
- Create a Plaid account at dashboard.plaid.com
- Request Production access in the dashboard (Plaid will review your application — this can take a few days)
- Once approved, save your
client_idandProductionsecret from Team Settings → Keys
2. Google OAuth
- console.cloud.google.com → create a project
- APIs & Services → OAuth consent screen → set up an "External" app, add yourself as a test user
- APIs & Services → Credentials → Create credentials → OAuth client ID
- Application type: Web application
- Authorized redirect URIs:
https://yourdomain.com/auth/google/callback(use your real domain from step 4 below) - Save the
Client IDandClient secret
3. Server
This guide assumes AWS EC2:
- Launch a
t3.microUbuntu 24.04 instance - Security group: inbound TCP 22 (SSH from your IP), 80, 443
- Allocate an Elastic IP and associate it with the instance
- SSH in:
ssh -i your-key.pem ubuntu@<elastic-ip>
4. Domain
Free option using DuckDNS:
- Sign in with Google/GitHub/Reddit
- Reserve a subdomain (e.g.
plaid-yourname) - Set the IP to your Elastic IP
- Your domain is now
plaid-yourname.duckdns.org
Go back to step 2.5 and set the redirect URI to https://plaid-yourname.duckdns.org/auth/google/callback.
5. Install
On the server:
git clone https://github.com/lukew0824/plaid-mcp.git
cd plaid-mcp
cp .env.example .env
nano .env # fill in everything
./install.sh
The script:
- Installs Python, Caddy, and dependencies
- Sets up and starts a systemd service (
plaid-mcp) that auto-restarts on failure and boot - Configures Caddy as a reverse proxy with auto-HTTPS via Let's Encrypt
6. Connect in Claude.ai
- Claude.ai → Settings → Connectors → Add custom connector
- URL:
https://yourdomain.com/mcp - Click Connect
- Sign in with the Google account matching
ALLOWED_EMAIL - First time only: a Plaid Link popup will appear — connect your bank
- Done. Try: "What did I spend on food last month?"
Configuration
The .env values:
| Key | Description |
|---|---|
PLAID_ENV |
production |
PLAID_CLIENT_ID |
From Plaid dashboard |
PLAID_PRODUCTION_SECRET |
From Plaid dashboard |
GOOGLE_CLIENT_ID |
From Google Cloud Console |
GOOGLE_CLIENT_SECRET |
From Google Cloud Console |
ALLOWED_EMAIL |
The single Google email allowed to authenticate |
BASE_URL |
Public HTTPS URL of this server (no trailing slash) |
DATABASE_URL |
sqlite:///./plaid_mcp.db (default works for self-hosting) |
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。