mu-mcp
MCP server for the mu email indexer and searcher.
Documentation
mu-mcp: MCP Server for the `mu` Mail Indexer
A Model Context Protocol (MCP) server for querying your local `mu` mail index. This server enables fast, structured mail search from Claude Desktop and other MCP clients.
Features
- Stdio MCP server for easy integration
- Three tools: query, view emails and open attachments (using default OS viewer).
- Fast, flexible mail search using the `mu` index
- Claude Desktop ready: simple installation and config
- Python, pixi, and MCP SDK based
Installation
Clone this repository and install dependencies:
git clone https://github.com/danielfleischer/mu-mcp.git
cd mu-mcp
pixi installUsage
Run the MCP Server
With pixi:
pixi run startOr directly with Python:
python mu_mcp/mu_mcp.pyClaude Desktop Integration
Add to your `claude_desktop_config.json`:
"mcpServers": {
"mu_mcp": {
"command": "pixi",
"args": [
"run",
"--manifest-path",
"PROJECT_PATH",
"start"
]
}
}Query
Ask Claude to find emails, e.g. "Find emails with a PDF attachment that were sent last April and open the PDF", "Show me the email I received from Alice last week", or "Find emails with the subject 'Meeting Notes'".
Development
- [x] Adding a tool to view an email.
- [x] Adding a tool to find and download attachments.
Frequently asked questions
What is mu-mcp?
mu-mcp is MCP server for the mu email indexer and searcher.
How do I install mu-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mu-mcp open source?
Yes — it is hosted on GitHub at https://github.com/danielfleischer/mu-mcp and has 3 stars.
Related MCP tools
TradingView MCP server — real-time market data, technical analysis, screeners & backtesting for Claude, ChatGPT, Cursor & any MCP client. Stocks, crypto, forex & futures across global exchanges. Hosted or self-host.
Control Gmail, Google Calendar, Docs, Sheets, Slides, Chat, Forms, Tasks, Search & Drive with AI - Comprehensive Google Workspace MCP Server & CLI Tool
Fast and Accurate Code Search for Agents. Uses 99% fewer tokens than grep+read
Transparent and Efficient Financial Analysis
Open source AI clip generator: turns long videos into viral 9:16 shorts with AI moment detection, face tracking, subtitles and dubbing. Self-host free with Docker (MIT), or use the cloud with GPU speed from $12/mo. MCP server and API for AI agents.
Cut AI token costs 95%+ on code exploration. The leading MCP server for precise, symbol-level GitHub code retrieval via tree-sitter AST. Works with Claude Code, Cursor & any MCP client. 313B+ tokens saved.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP