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
CUFinder
Access 1B+ verified contacts and 85M+ companies for B2B lead generation, person lookup, company enrichment, and local business search directly through AI assistants.
Library Docs MCP Server
Search and fetch documentation for popular libraries like Langchain, Llama-Index, and OpenAI using the Serper API.
Jina AI Search
Perform semantic, image, and cross-modal searches using Jina AI's neural search capabilities.
Agora MCP
Search and buy products across thousands of online stores using the SearchAgora universal product search engine.
NullBR MCP Server
A server for searching and retrieving movie and media resource information via the MCP protocol.
Gemini Web Search
Performs web searches using the Gemini Web Search Tool via the local gemini-cli.
Brave Search
Integrates the Brave Search API for both web and local search capabilities. Requires a BRAVE_API_KEY.
Haloscan MCP Server
An MCP server for interacting with the Haloscan SEO API.
Image Sorcery
At Sunrise Apps, we believe AI agents should be limitless, especially when it comes to visual data. We created ImageSorcery to bridge the critical gap in AI's ability to interact with and manipulate images directly, all while upholding the highest standards of privacy and security.
CoolPC MCP Server
Query computer component prices from Taiwan's CoolPC website to generate AI-assisted price quotes.