{"id":29084687,"url":"https://github.com/danielfleischer/mu-mcp","last_synced_at":"2025-06-27T22:10:58.807Z","repository":{"id":300372112,"uuid":"1006005432","full_name":"danielfleischer/mu-mcp","owner":"danielfleischer","description":"MCP server for the `mu` email indexer and searcher.","archived":false,"fork":false,"pushed_at":"2025-06-21T10:11:22.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-21T10:28:04.414Z","etag":null,"topics":["claude-desktop","email","mcp-server","mu4e"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielfleischer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-21T09:21:50.000Z","updated_at":"2025-06-21T10:11:25.000Z","dependencies_parsed_at":"2025-06-21T10:38:20.666Z","dependency_job_id":null,"html_url":"https://github.com/danielfleischer/mu-mcp","commit_stats":null,"previous_names":["danielfleischer/mu-mcp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danielfleischer/mu-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfleischer%2Fmu-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfleischer%2Fmu-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfleischer%2Fmu-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfleischer%2Fmu-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielfleischer","download_url":"https://codeload.github.com/danielfleischer/mu-mcp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfleischer%2Fmu-mcp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262341643,"owners_count":23296072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude-desktop","email","mcp-server","mu4e"],"created_at":"2025-06-27T22:10:58.393Z","updated_at":"2025-06-27T22:10:58.794Z","avatar_url":"https://github.com/danielfleischer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# mu-mcp: MCP Server for the `mu` Mail Indexer\n\n[![GitHub release](https://img.shields.io/github/v/release/danielfleischer/mu-mcp)](https://github.com/danielfleischer/mu-mcp/releases)\n[![GitHub license](https://img.shields.io/github/license/danielfleischer/mu-mcp?color=blue)](https://github.com/danielfleischer/mu-mcp/blob/master/LICENSE)\n\nA Model Context Protocol (MCP) server for querying your local [`mu`](https://github.com/djcb/mu) mail index. This server enables fast, structured mail search from Claude Desktop and other MCP clients.\n\n\u003cimg src=\"assets/claude-screenshot.png\" width=\"500\"/\u003e\n\n## Features\n\n- **Stdio MCP server** for easy integration\n- **Three tools:** query, view emails and open attachments (using default OS viewer).\n- **Fast, flexible mail search** using the `mu` index\n- **Claude Desktop ready**: simple installation and config\n- **Python, uv, and MCP SDK** based\n\n## Installation\n\nClone this repository and install dependencies:\n\n```sh\ngit clone https://github.com/danielfleischer/mu-mcp.git\ncd mu-mcp\nuv venv\nuv pip install .\n```\n\n## Usage\n\n### Run the MCP Server\n\nWith [uv](https://github.com/astral-sh/uv):\n\n```sh\nuv run --directory . mcp run mu_mcp/mu_mcp.py\n```\n\nOr directly with Python:\n\n```sh\npython mu_mcp/mu_mcp.py\n```\n\n### Claude Desktop Integration\n\nAdd to your `claude_desktop_config.json`:\n\n```json\n\"mcpServers\": {\n  \"mu_mcp\": {\n    \"command\": \"uv\",\n    \"args\": [\n      \"run\",\n      \"--directory\",\n      \"PROJECT_PATH\",\n      \"mcp\",\n      \"run\",\n      \"mu_mcp/mu_mcp.py\"\n    ]\n  }\n}\n```\n\nReplace `PROJECT_PATH` with the path to your cloned repo.\n\n## Query\n\nAsk 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'\".\n\n## Development\n\n- [x] Adding a tool to view an email.\n- [x] Adding a tool to find and download attachments.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielfleischer%2Fmu-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielfleischer%2Fmu-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielfleischer%2Fmu-mcp/lists"}