mu-mcp
Query your local `mu` mail index for fast, structured mail search from MCP clients.
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
muindex - Claude Desktop ready: simple installation and config
- Python, uv, and MCP SDK based
Installation
Clone this repository and install dependencies:
git clone https://github.com/danielfleischer/mu-mcp.git
cd mu-mcp
uv venv
uv pip install .
Usage
Run the MCP Server
With uv:
uv run --directory . mcp run mu_mcp/mu_mcp.py
Or directly with Python:
python mu_mcp/mu_mcp.py
Claude Desktop Integration
Add to your claude_desktop_config.json:
"mcpServers": {
"mu_mcp": {
"command": "uv",
"args": [
"run",
"--directory",
"PROJECT_PATH",
"mcp",
"run",
"mu_mcp/mu_mcp.py"
]
}
}
Replace PROJECT_PATH with the path to your cloned repo.
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
- Adding a tool to view an email.
- Adding a tool to find and download attachments.
Related Servers
MCP Web Search Tool
A server for real-time web search using pluggable providers, powered by the Brave Search API.
OSRS MCP Server
Search the Old School RuneScape (OSRS) Wiki and access game data definitions.
Perplexica Search
Perform conversational searches with the Perplexica AI-powered answer engine.
LeadMagic
Access LeadMagic's B2B data enrichment API suite for email finding, profile enrichment, and company intelligence.
Semantic Scholar
Access Semantic Scholar's academic paper database through their API.
Web3 Research MCP
A free and local tool for in-depth crypto research.
Tavily Search
A comprehensive search agent powered by the Tavily API for in-depth and reliable search results across various topics.
Volcengine Knowledge Base MCP
Provides knowledge base search and dialogue completion using the Volcengine Knowledge Base service. Requires external credential configuration.
MCP Naver News
Search for news articles using the Naver News API. Requires Naver News API credentials.
YaCy MCP Server
MCP (Model Context Protocol) Server implementation that provides AI tools to search using YaCy web search API.