Parse-DMARC MCP Server — Claude Code MCP server: how to install
Gives an AI assistant access to DMARC aggregate reports that Parse DMARC pulls from your mailbox over IMAP and stores in SQLite. Useful for asking who sends mail as your domain.
Apache-2.0 ★ 234 updated 2026-10-23
claude mcp add parse-dmarc-mcp-server -- docker run -i --rm ghcr.io/meysam81/parse-dmarc:v1.4.7What Parse-DMARC MCP Server does
This MCP server lets an AI assistant query the DMARC aggregate reports that Parse DMARC collects. The app reads reports over IMAP or from a local Maildir, unpacks gzip, zip and plain XML (16 MB limit per report after decompression), and writes them to a single SQLite file. No database server is involved.
The same binary also serves a web dashboard and a _dmarc record generator, and exposes 28 Prometheus metrics with a Grafana dashboard. You can ask the agent about report data and leave the dashboard closed.
The install command starts a container through docker, so Docker has to be on the machine. Reports only arrive when your _dmarc DNS record has an rua= address pointing at a mailbox that accepts mail. Gmail needs an App Password, not the account password. Only aggregate (RUA) reports are read; RUF failure reports, TLS-RPT and alerting are not built.
What it helps with
- see which IPs send mail as your domain
- check whether SPF and DKIM pass for legitimate senders before moving from
p=nonetop=reject - skip unpacking gzip and zip XML attachments by hand
- read reports from a Maildir on the same host as your mail server
- ask an agent about report data instead of searching the dashboard
Example prompts for the agent
- Ask
parse-dmarc-mcp-serverwhich IP addresses sent mail as my domain - Use the
parse-dmarc-mcp-serverMCP server to show which senders fail SPF or DKIM - With
parse-dmarc-mcp-server, tell me whether I can move my policy fromp=nonetop=quarantine
How to install Parse-DMARC MCP Server
Platform CLI
claude mcp add parse-dmarc-mcp-server -- docker run -i --rm ghcr.io/meysam81/parse-dmarc:v1.4.7Platform CLI
codex mcp add parse-dmarc-mcp-server -- docker run -i --rm ghcr.io/meysam81/parse-dmarc:v1.4.7Config file
{
"mcpServers": {
"parse-dmarc-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/meysam81/parse-dmarc:v1.4.7"
]
}
}
}Config file
{
"servers": {
"parse-dmarc-mcp-server": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/meysam81/parse-dmarc:v1.4.7"
]
}
}
}Platform CLI
gemini mcp add parse-dmarc-mcp-server docker run -i --rm ghcr.io/meysam81/parse-dmarc:v1.4.7Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Parse-DMARC MCP Server
How do I install Parse-DMARC MCP Server in Claude Code?
Run claude mcp add parse-dmarc-mcp-server -- docker run -i --rm ghcr.io/meysam81/parse-dmarc:v1.4.7. Docker must be installed.
What does Parse-DMARC MCP Server do?
It lets an AI assistant query DMARC aggregate report data. Parse DMARC itself fetches the reports from a mailbox over IMAP or from a Maildir and keeps them in SQLite.
Which reports does Parse DMARC read, and what is needed to receive them?
Aggregate (RUA) reports only. You need the mailbox named in rua= in your _dmarc TXT record, reachable over IMAP or as a Maildir. RUF failure reports and TLS-RPT are not supported.