Mercury Enhanced 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., "@Mercury Enhanced MCPShow my Mercury account balances"
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.
Mercury Enhanced MCP
A custom Model Context Protocol (MCP) server for the Mercury banking API. Uses Mercury's personal API tokens instead of OAuth, eliminating the 3-day session expiry that breaks scheduled tasks.
Why not Mercury's official MCP? Mercury's hosted MCP (
mcp.mercury.com) uses OAuth2 Authorization Code flow with sessions that expire every 3 days — requiring manual re-authorization. Personal API tokens do not expire.
Prerequisites
Node.js 18 or later
A Mercury personal API token (generate one in Mercury Settings → API)
Claude Desktop (or any MCP-compatible client)
Related MCP server: lunchmoney-mcp
Installation
git clone https://github.com/bradcollins/Mercury-Enhanced-MCP.git
cd Mercury-Enhanced-MCP
npm install
npm run buildConfiguration
Claude Desktop
Add the following to your claude_desktop_config.json (usually at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"mercury-enhanced-mcp": {
"command": "node",
"args": ["/absolute/path/to/Mercury-Enhanced-MCP/dist/index.js"],
"env": {
"MERCURY_API_TOKEN": "your_mercury_personal_api_token_here"
}
}
}
}Replace /absolute/path/to/Mercury-Enhanced-MCP with the actual path where you cloned this repo.
Environment Variable
The server reads your token from MERCURY_API_TOKEN. Never commit this value to version control.
Tools (15 total)
Tool | Description |
| List all Mercury accounts (checking, savings) with balances and status |
| Get details of a specific account by ID |
| List debit/credit cards associated with an account |
| Get monthly statements for a checking/savings account |
| Get details of a single transaction by ID |
| List transactions for a specific account with date/status/search filters |
| Cross-account transaction search with advanced filters |
| Get organization info (EIN, legal name, DBAs) |
| List all payment recipients |
| Get full details of a specific recipient by ID |
| List all custom expense categories |
| List all credit accounts |
| List all Mercury treasury accounts with balances and net returns |
| List transactions for a treasury account (integer cursor pagination) |
| Get statements for a treasury account (MonthlyStatement, 1099, TradeConfirmation, etc.) |
Usage Examples
Once configured in Claude Desktop, you can ask:
"What are my Mercury account balances?"
"Show me my last 10 transactions"
"How much do I have in treasury?"
"List all my payment recipients"
"Show me all failed transactions this month"
"What is my organization's legal business name?"
"Download my treasury statements for last quarter"
API Reference
This server wraps the Mercury REST API v1. All requests use Authorization: Bearer <token>.
Key URL patterns:
Single account:
/account/{id}(singular)Single transaction:
/transaction/{id}(singular)Treasury root:
/treasuryTreasury transactions:
/treasury/{id}/transactions
License
MIT — see LICENSE
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-qualityDmaintenanceAn MCP server that exposes Enable Banking API tools for interacting with bank accounts through Open Banking. It enables users to authenticate sessions, list accounts, and fetch transaction history or balances via a secure self-hosted server.Last updated2
- Alicense-qualityAmaintenanceA comprehensive MCP server that enables AI assistants to manage Lunch Money finances through 37 tools for transactions, budgets, and accounts. It supports both local stdio and remote HTTP transport modes with secure, encrypted credential storage.Last updated181MIT
- AlicenseAqualityAmaintenanceMercury Banking MCP server with full Invoicing API support. Read accounts/transactions and create/manage recurring invoices via Model Context Protocol.Last updated363811MIT
- Alicense-qualityDmaintenanceSimple MCP server that interfaces with the Mercury API, allowing you to talk to your Mercury banking data from any MCP client like Cursor or Claude Desktop.Last updated4MIT
Related MCP Connectors
A basic MCP server to operate on the Postman API.
A MCP server built for developers enabling Git based project management with project and personal…
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
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/collinsb1/Mercury-Enhanced-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server