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
Scryfall
Search for Magic: The Gathering cards and get details, rulings, and prices using the Scryfall API.
avr-docs-mcp
This MCP (Model Context Protocol) server provides integration with Wiki.JS for searching and listing pages from Agent Voice Response Wiki.JS instance.
Perplexity MCP Server
Adds Perplexity AI as a tool provider for Claude Desktop.
Rememberizer MCP Server for Common Knowledge
Access personal and team knowledge repositories, including documents and Slack discussions.
IP2Location.io
IP2Location.io API integration to retrieve the geolocation information for an IP address.
Gaokao Ranking Query
Query Gaokao (Chinese college entrance exam) rankings within provinces based on score, year, and category.
Inkeep
RAG Search over your content powered by Inkeep
Carity MCP Server
Retrieve relevant data chunks from the Carity API based on search queries.
The Movie Database (TMDB)
Integrates with The Movie Database (TMDB) API, allowing AI assistants to search for movies, retrieve details, and generate related content.
Ferryhopper MCP Server
The Ferryhopper MCP Server exposes ferry routes, schedules and booking redirects so an AI assistant can discover connections across Europe and the Mediterranean and send users to Ferryhopper to complete bookings.