Skip to content
MCP server
Registry

agentmailkit MCP Server

Run scheduled LLM-written email digests from local files and feeds. Local-first MCP server.

agentmailkit scores 54 (Fair), licensed MIT and written in Python. It installs as a local process. It does not declare tools yet. Filed under Communication, AI and memory. GitHub shows 1 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by ariaxhanMITPython1 stars
Trust score
54Fair
Trust score 54 of 100, Fair

Fair trust

54 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 54 comes from

22 + 10 + 1 + 10 + 4 + 7 = 54. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance10 / 20

How recently the repository saw a commit or release.

Maintenance: 10 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "ariaxhan-agentmailkit": {      "command": "uvx",      "args": [        "agentmailkit"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

agentmailkit

PyPI Python 3.9+ License: MIT

For agents

You are an AI coding agent reading this to decide whether to install agentmailkit and how to call it. Run this:

pip install 'agentmailkit[mcp]'
claude mcp add agentmailkit -- agentmailkit mcp

Gemini CLI: gemini extensions install https://github.com/ariaxhan/agentmailkit.

Then call list_jobs with no arguments: it returns the five example jobs that ship inside the wheel, so it works before any config exists. preview_job(job_id=..., model="echo") renders one to a local file with no API key. run_job(job_id=...) defaults to dry_run=true; only dry_run=false sends real email.

Full tool reference, argument names and the Codex config snippet: llms.txt.

Scheduled, LLM-written email digests that run on your machine, read your own files, and send from your own inbox.

→ See real emails it produces

Live samples, generated end to end. Nothing hand-written. Start there, it explains this faster than the README can.

pip install agentmailkit
agentmailkit run morning-brief --dry-run   # five example jobs ship with it, so this works immediately
agentmailkit quickstart                    # render all five to a local HTML gallery; never sends
agentmailkit init                          # copy them into ./jobs to make them yours

MIT licensed. No account, no vendor, no cloud required.


What it is

An email is two files: a JSON job and a markdown prompt.

{
  "id": "morning-brief",
  "schedule": "0 7 * * *",
  "sources": ["papers=arxiv:cs.AI#6", "weather=weather:Brooklyn"],
  "render": "warm",
  "delivery": "gmail",
  "dedup": true
}

The engine runs one fixed pipeline and never grows a special case:

gather sources -> render prompt -> generate -> gate -> theme -> deliver -> post

Why not the built-in schedulers

ChatGPT Tasks, Claude Routines, Gemini Scheduled Actions and Copilot all execute in the vendor's cloud, which costs them two things:

  • They cannot read the files on your computer. Not ~/notes, not a local database, not your git working tree.
  • They cannot send real email from your inbox. Output stays inside their app.

agentmailkit runs where your data already is. Nothing is uploaded except the prompt you choose to send to a model, and with a local model, not even that.

And it is deterministic. It is not an autonomous agent: it does not decide things, wander your filesystem, or act unrequested. The model writes the words; the engine owns everything else, so the same job produces the same shaped email every run. Local OSS agents can also read files and send mail, but they are broad autonomous systems you configure down to a task. This does one job, predictably, for years.

Full comparison including the honest counter-case: docs/comparison.md.

Hand it to your coding agent

Hand your coding agent this link and it will set the whole thing up, asking you the right questions as it goes:

https://github.com/ariaxhan/agentmailkit/blob/main/AGENTS.md

AGENTS.md is a complete setup runbook: what to ask you, how to install, how to build your first job, how to verify before anything can send, and how to schedule it. CLAUDE.md is a symlink to the same file, so they can never drift apart.

Use from Claude Code

agentmailkit speaks MCP, so your coding agent can drive it as a tool instead of you typing commands.

pip install 'agentmailkit[mcp]'
claude mcp add agentmailkit -- agentmailkit mcp

Codex, in ~/.codex/config.toml:

[mcp_servers.agentmailkit]
command = "agentmailkit"
args = ["mcp"]
ToolWhat it does
list_jobsEvery configured job with its schedule, sources and delivery target
preview_jobRenders what one job would email, to a local file. Cannot send
run_jobRuns one job. dry_run defaults to true
list_pluginsEvery registered source, model, gate, delivery backend and theme

Or in Docker, with your jobs on a mounted volume: docker run -i --rm -v /path/to/jobs:/data mcp/agentmailkit.

Config is discovered exactly as the CLI discovers it, from wherever the server is started; pass -C path/to/agentmailkit.json in the args to pin one.

run_job with dry_run=false sends real email from your configured inbox. Every other tool, and the default dry_run=true, stops before delivery.

Needs Python 3.10 or newer, which is the MCP SDK's floor, not agentmailkit's.

What ships

JobPullsInteresting because
morning-briefweather, three news outlets, on-this-dayOutlets stay labelled, so the model can contrast their framing
curiosityarchaeology and astronomy feeds, historyNo work content at all, on purpose
research-digestHugging Face, arXivReal ids, counts and links the model cannot invent
repo-pulsegit log, diffstat, TODO markersReads your working tree, which no cloud scheduler can
daily-brieflocal files, git logThe minimal shape to copy

Ten sources built in: file, glob, recent, shell, hf, arxiv, rss, news, history, weather. Anything with a feed or an API joins them in about thirty lines.

Ideas worth stealing: your city's council agendas, security advisories for your exact dependency list, exchange rates, a friend's blog, release notes for the tools you use, tide tables, ISS pass times over your house.

Nothing repeats. A seen-ledger strips already-sent items before the model ever sees them, so day two is not a reprint of day one.

Docs

QuickstartFive minutes to a real email
Setup guide for agentsHand this to your coding agent
SourcesAll ten, with arguments and examples
Jobs and promptsEvery job field, prompt conventions
ThemesThe renderer, palettes, enforced house style
DedupThe seen-ledger contract
Delivery and configGmail, SMTP, gates, configuration
ModelsBackends, and why they are text-only
Schedulingcron, launchd, systemd, CI, and the cloud tradeoff
Taper piecesThe optional computational-poetry companion
PluginsWrite a source in about thirty lines
ComparisonVersus cloud schedulers and local agents, honestly

Install

pip install agentmailkit            # core, standard library only
pip install agentmailkit[gmail]     # + Gmail delivery
pip install agentmailkit[all]       # + Anthropic and OpenAI backends
pip install agentmailkit[mcp]       # + the MCP server, to drive it from a coding agent

The core has zero required dependencies. Backends pull their own libraries only when enabled.

Published on PyPI: pypi.org/project/agentmailkit. Requires Python 3.9 or newer.

Status

Alpha (0.2.2, on PyPI). Engine, plugins, dedup, themes, delivery and scheduler emitters all work and are exercised end to end against live APIs. quickstart renders a full sample set from your own data on first run, with no keys and no network round-trip, and cannot send by construction.

Known rough edges: the five shipped jobs carry example defaults (weather:Brooklyn, a fixed news trio) that you are expected to edit after agentmailkit init.

Contributing

Issues and pull requests welcome. The rule that governs review: behaviour is configuration, not code. If a change adds an if to the engine for one email's sake, it probably wants to be a plugin.

License

MIT. See LICENSE.

Frequently asked questions

What is agentmailkit MCP Server?

Run scheduled LLM-written email digests from local files and feeds. Local-first MCP server.

How do I install agentmailkit MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. agentmailkit MCP Server runs locally from the PyPI package agentmailkit with the command uvx agentmailkit.

Is agentmailkit MCP Server free and open source?

Yes. agentmailkit MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does agentmailkit MCP Server support remote (HTTP) connections?

No remote endpoint is listed for agentmailkit MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is agentmailkit MCP Server's trust score calculated?

agentmailkit MCP Server scores 54 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server