Quicken MCP Server
Converts Quicken QIF files into a queryable DuckDB database and exposes financial data through MCP tools, enabling LLMs to query transactions, accounts, and summaries.
README
Quicken MCP Server
A containerized MCP (Model Context Protocol) server that converts a local export of Quicken in Quicken Interchange Format (QIF) files into a queryable DuckDB database, exposing financial data through standardized MCP tools to LLM Clients.
Features
- QIF Import: Parse and normalize Quicken QIF files into structured database tables
- In-Memory Database: Uses DuckDB for fast, SQL-compatible data access
- MCP Tools: Exposes financial data through standardized MCP tools including:
list_accounts- List all accounts with balanceslist_transactions- Query transactions with flexible filteringrun_sql- Execute safe SQL queries against the dataget_summaries- Generate financial summaries and statisticsget_categories- List transaction categoriessearch_transactions- Search transactions by text
- Multiple Transports: Supports both stdio and Server-Sent Events (SSE) protocols
- Security: SQL queries are restricted to SELECT operations only
- Resources: Export data as CSV files through MCP resources
TLDR: Talk to your Quicken data in ChatGPT, Claude or ollama!

Quick Start
Using Docker (Recommended)
-
Build the container:
docker build -t quicken-mcp-server . -
Register the MCP in your LLM client config
Example of
claude-desktop-config.jsonentry:"quicken-mcp": { "command": "docker", "args": [ "run", "-i", "--rm", "-v", "<path>/data:/data:ro", "quicken-mcp-server", "--qif", "/data/personal-data.qif" ], "env": {} }In this example, I have exported my quicken data into the QIF format and named it "personal-data.qif". I then placed it into a folder called "data" and made that folder available to the docker image as a volume also named "data".
Local Development
-
Install dependencies:
pip install -r requirements.txt -
Run locally:
python -m app.main --qif /path/to/your/file.qif
Usage Examples
Command Line Options
python -m app.main --help
Required:
--qif PATH- Path to the QIF file to load
Optional:
--server-mode {stdio,sse}- Transport mode (default: stdio)--listen HOST:PORT- Listen address for SSE mode (default: 127.0.0.1:8700)--log-level {DEBUG,INFO,WARNING,ERROR}- Log level (default: INFO)--memory-limit SIZE- DuckDB memory limit (default: 8GB)
Environment Variables
You can also configure using environment variables:
QIF_PATH- Path to QIF fileSERVER_MODE- Transport modeLOG_LEVEL- Logging levelMEMORY_LIMIT- Memory limit
Docker Examples
Basic usage with bind mount:
docker run --rm \
-v "$PWD/data:/data:ro" \
--network host \
quicken-mcp --qif /data/example-file.qif
SSE mode with custom port:
docker run --rm \
-v "$PWD/data:/data:ro" \
-p 8700:8700 \
quicken-mcp \
--qif /data/example-file.qif \
--server-mode sse \
--listen 0.0.0.0:8700
MCP Tools Reference
list_accounts
Returns all accounts with metadata:
{
"success": true,
"accounts": [
{
"account_id": 1,
"name": "Checking Account",
"type": "Bank",
"balance": 1234.56
}
]
}
list_transactions
Query transactions with optional filters:
{
"account_type": "Bank",
"date_from": "2023-01-01",
"date_to": "2023-12-31",
"category": "Food",
"limit": 50
}
run_sql
Execute SELECT queries:
{
"query": "SELECT category, SUM(amount) FROM transactions WHERE date >= '2023-01-01' GROUP BY category ORDER BY SUM(amount) DESC LIMIT 10"
}
get_summaries
Generate financial summaries:
{
"period": "month" // Options: "month", "category", "account", "all"
}
Database Schema
The server creates the following tables:
- accounts - Account information (name, type, balance, etc.)
- categories - Transaction categories and metadata
- transactions - Individual transactions
- transaction_splits - Split transaction details
Plus useful views:
- transactions_with_categories - Transactions joined with category info
- monthly_summaries - Monthly spending summaries
- category_summaries - Category-wise summaries
MCP Client Integration
Testing with MCP Inspector
The MCP Inspector is a powerful debugging tool for testing MCP servers. You can use it to explore available tools, test queries, and debug issues.
Using Docker (Recommended):
# Start the inspector (runs on http://localhost:5173)
docker run --rm --network host -p 5173:5173 ghcr.io/modelcontextprotocol/inspector:latest
Then connect to your server:
- Stdio mode: Use command
docker run --rm -v "/path/to/your/qif:/data:ro" --network host quicken-mcp --qif /data/yourfile.qif - SSE mode: Use URL
http://127.0.0.1:8700/sse
Using npx (Local Development):
# For stdio mode
npx @modelcontextprotocol/inspector docker run --rm -v "/path/to/your/qif:/data:ro" --network host quicken-mcp --qif /data/yourfile.qif
# For SSE mode, start the server first, then:
npx @modelcontextprotocol/inspector http://127.0.0.1:8700/sse
With mcpm (MCP Manager)
Create an mcpm profile:
mcpm profile create quicken-ledger
mcpm profile edit quicken-ledger --add local::quicken-mcp
With MCP-compatible editors
Configure your editor to use this server:
- Stdio mode: Point to the docker run command
- SSE mode: Use
http://127.0.0.1:8700/sseendpoint
Security Considerations
- QIF files should be trusted and local
- SQL execution is restricted to SELECT statements only
- Dangerous SQL keywords are blocked
- Container runs as non-root user
- File access is controlled through bind mounts
Performance
- Recommended memory limit: 8GB for large datasets
- File size warning at 100MB+
- Query results limited to prevent memory issues
- DuckDB provides excellent analytical performance
Development
Project Structure
quicken-mcp-server/
├── app/
│ ├── __init__.py
│ ├── config.py # Configuration management
│ ├── qif_loader.py # QIF parsing and database loading
│ ├── schema.sql # Database schema definitions
│ ├── mcp_tools.py # MCP tool implementations
│ ├── server.py # MCP server setup
│ └── main.py # Application entry point
├── tests/
├── Dockerfile
├── pyproject.toml
├── requirements.txt
└── README.md
Running Tests
pytest
Code Quality
ruff check .
mypy app/
License
MIT License - see LICENSE file for details.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。