---
title: "AI 活用の DMARC 分析 - Claude Code をレポートに接続 | DMARC Report"
description: "DMARC Report の REST API は、解析・正規化された DMARC データをクリーンな JSON として返します — 集計レポート、フォレンジック障害、送信者識別、コンプライアンス統計。Claude Code、ChatGPT、その他あらゆる AI ツールを接続し、独自の XML パーサーを構築することなくメール認証データを分析できます。50,000 以上のドメインを処理する 5,000 以上の組織に信頼されています。"
image: "https://dmarcreport.com/images/og-default.png"
canonical: "https://dmarcreport.com/ja/ai/"
---

AI + API 

# あなたの DMARC データを、  
AI で活用 

DMARC Report の REST API は、解析・正規化された DMARC データをクリーンな JSON として返します。当社は 50,000 以上のドメインからの集計・フォレンジック XML レポートを処理し、IP から 200 以上のメールベンダーを特定し、SPF/DKIM アラインメントを計算します — あなたは Claude Code、ChatGPT、その他あらゆる AI ツールを接続して、必要なものを何でも構築できます。

独自の DMARC パーサーを作ることもできるでしょう。もちろんです。しかし当社のお客様は、代わりに API を使うことで 3〜6 か月のエンジニアリング時間を節約できたと報告しています。XML は当社が処理します。あなたは洞察に集中できます。

G2 で 4.8/5 の評価（470 件の認証済みレビュー）· 99.99% 稼働率 SLA · SOC-2 Type II · すべての有料プランに API を含む

[ API ドキュメントを見る → ](https://docs.dmarcreport.com/) [ 無料で開始 - API トークンを取得 ](https://app.dmarcreport.com/signup?plan=pro) 

大変な方法 vs. スマートな方法 

## なぜ独自の DMARC パーサーを作らないのか？  
その実態はこうです。

✗ DMARC レポートを受信するメール受信箱をセットアップする 

✓ 当社はすでに 50,000 以上のドメインのレポートを受信しています 

✗ XML 集計レポートを解析する（RFC 7489） 

✓ 当社はベンダー識別付きのクリーンな JSON を返します 

✗ フォレンジックレポート形式をデコードする（複数の仕様） 

✓ 当社はすべてのフォレンジックデータを単一の形式に正規化します 

✗ 送信者識別と IP レピュテーションを構築する 

✓ 当社は 200 以上のメールベンダーを自動的に特定します 

✗ gzip、zip、MIME エンコードされた添付ファイルを処理する 

✓ 当社はすべてのエンコードを処理し、構造化データをお届けします 

✗ インフラ、ストレージ、稼働率を維持する 

✓ 当社は 99.99% SLA で稼働し、あなたは 1 つの API を呼び出すだけです 

Claude Code 

```
$ claude "example.com の DMARC 集計統計を取得して、
  どの送信者が認証に失敗しているか教えて"

# Claude が DMARC Report API を呼び出します:
GET /v2/accounts/1/domains/42/
    agg_reports/agg_report_stats
Authorization: Token token=your_api_key

# レスポンス: 送信元 IP、ベンダー名、SPF/DKIM
# 結果、ボリューム、アラインメント率を含む
# 構造化された JSON。
# Claude が分析して回答します:

DKIM アラインメントに失敗している送信者が 3 件:
  1. Mailchimp (198.2.x.x) - 12,400 通
     DKIM: FAIL (誤ったドメインで署名)
  2. SendGrid (167.89.x.x) - 3,200 通
     SPF: FAIL (IP が SPF レコードにない)
  3. 不明 (45.33.x.x) - 890 通
     SPF+DKIM: FAIL (なりすましの可能性)
```

得られるもの 

## DMARC Report API はどのようなデータを返しますか？

すべてのエンドポイントはクリーンな JSON を返します。当社が XML を解析し、データを正規化し、ベンダーを特定しました。可視化はあなた次第です — データを独自のダッシュボード、レポートツール、AI ワークフローに取り込み、思いのままに表示してください。

当社が担うこと

- ✓ DMARC 集計・フォレンジックメールの受信
- ✓ XML を構造化された JSON に解析
- ✓ すべてのレポート形式にわたるデータの正規化
- ✓ IP から 200 以上のメールベンダーを特定
- ✓ アラインメント＆コンプライアンス統計の計算
- ✓ 99.99% の稼働率での API ホスティング

あなたが構築すること

- → カスタムダッシュボードとビジュアルレポート
- → 自動化されたアラートと通知
- → コンプライアンスと監査証跡
- → あなたの MSP 向けのクライアント向けレポート
- → AI 活用の分析ワークフロー
- → 既存ツールとの連携

GET `/agg_reports.json` 

### 集計レポート

SPF/DKIM アラインメント、送信元 IP、送信ボリューム、ドメインごとの合格/不合格率を含む、解析済みの DMARC 集計レポート。

GET `/forensic_reports.json` 

### フォレンジックレポート

メッセージ単位の個別障害レポート — 失敗した各メッセージのヘッダー、認証結果、送信者の詳細。

GET `/agg_reports/agg_report_stats` 

### 集計統計

事前計算済みのドメイン統計 — コンプライアンス率、送信者の内訳、ポリシー評価結果、傾向データ。

GET `/email_sources` 

### メール送信元

すべてのドメインにわたって特定された送信元 — IP アドレス、ベンダー名、認証ステータス、ボリューム。

GET `/mta_sts_reports.json` 

### MTA-STS レポート

障害の詳細、受信サーバー情報、ポリシー評価結果を含む TLS 接続障害レポート。

CRUD `/domains.json` 

### ドメイン管理

プログラムによるドメインのオンボーディング、DMARC レコードの生成、ホスト型サービスの検証、構成管理。

[docs.dmarcreport.com で完全な API リファレンスを見る →](https://docs.dmarcreport.com/) 

5 分で開始 

## Claude Code を DMARC Report に接続するには？

これらの手順を Claude Code セッションにコピーしてください。Claude は DMARC Report API を使ってデータを取得し、分析します。

1

### API トークンを取得する

[app.dmarcreport.com](https://app.dmarcreport.com/) にログインし、プロフィールに移動して **API Tokens** をクリックし、新しいトークンを作成します。それをコピーしてください — 次のステップで使用します。

2

### Claude にこの手順を渡す

これを Claude Code セッションに貼り付けるか、プロジェクトの `CLAUDE.md` ファイルに追加してください:

CLAUDE.md コピー 

```
## DMARC Report API

Base URL: https://api.dmarcreport.com/v2
Auth: Authorization: Token token=YOUR_TOKEN_HERE

### Key endpoints:
- GET /accounts - list accounts
- GET /all_domains.json - list all domains
- GET /accounts/:id/domains/:id/agg_reports.json
    - aggregate DMARC reports (paginated)
- GET /accounts/:id/domains/:id/agg_reports/
    agg_report_stats - domain compliance stats
- GET /accounts/:id/domains/:id/agg_reports/
    records.json - detailed report records
- GET /accounts/:id/domains/:id/
    forensic_reports.json - failure/forensic reports
- GET /email_sources - identified sending sources
- GET /accounts/:id/domains/:id/
    mta_sts_reports.json - MTA-STS reports

### Usage:
Use curl with the auth header to call these
endpoints. Start with /accounts to get your
account ID, then /all_domains.json to get
domain IDs. All responses are JSON.

### RFC Reference (download for full context):
Before analyzing DMARC data, fetch these RFCs
so you understand the protocols:

- DMARC: https://datatracker.ietf.org/doc/rfc7489/
  (Domain-based Message Authentication,
   Reporting, and Conformance)
- SPF: https://datatracker.ietf.org/doc/rfc7208/
  (Sender Policy Framework)
- DKIM: https://datatracker.ietf.org/doc/rfc6376/
  (DomainKeys Identified Mail Signatures)
- DKIM Key Records:
  https://datatracker.ietf.org/doc/rfc6376/
- MTA-STS: https://datatracker.ietf.org/doc/rfc8461/
  (SMTP MTA Strict Transport Security)
- TLS-RPT: https://datatracker.ietf.org/doc/rfc8460/
  (TLS Reporting for SMTP)
- ARC: https://datatracker.ietf.org/doc/rfc8617/
  (Authenticated Received Chain)

Use WebFetch to read each RFC at session start.
This gives you full protocol context for
interpreting DMARC aggregate reports, SPF
alignment, DKIM signatures, and policy
evaluation results from the API.
```

3

### DMARC データについて Claude に何でも尋ねる

試せるサンプルプロンプト:

 "example.com で DKIM に失敗している送信者を表示して" 

 "すべてのドメインのコンプライアンスサマリーを生成して" 

 "私のドメインに未認可の送信者はいますか？" 

 "私のメールのうち何パーセントが DMARC アラインメントに合格していますか？" 

 "過去 30 日間のフォレンジックレポートを取得して、疑わしいものにフラグを立てて" 

 "すべてのドメインの全送信元の CSV エクスポートを作成して" 

構築できるもの 

## DMARC Report API で何を構築できますか？

当社がメールを処理し、レポートを解析します。データをどのように表示し、分析し、対応するかはあなたが決めます。

### カスタム経営レポート

集計統計を取得し、独自の BI ツールで役員会向けのコンプライアンスダッシュボードを構築できます。ドメイン、期間、送信者など、関係者が確認したい条件で絞り込めます。

### 自動化された脅威アラート

Claude にフォレンジックレポートを監視させ、疑わしいパターン — 新たな未認可の送信者、突然のボリューム急増、即時対応が必要なアラインメント障害 — をフラグ付けさせましょう。

### MSP のクライアントレポート

各クライアントのドメインのデータを取得し、ブランド付きのサマリーを生成して、スケジュールに沿って配信するマルチテナントのレポートワークフローを構築できます — ダッシュボードにログインする必要はありません。

### コンプライアンスの自動化

DMARC データを GRC プラットフォームに取り込み、監査証跡を生成したり、すべてのドメインが組織の認証ポリシーを満たしているかを検証する自動コンプライアンスチェックを構築したりできます。

### 送信元検出ワークフロー

メール送信元エンドポイントを使用して、あなたのドメインとして送信しているすべてのサービスをプログラムで検出できます。認可済みの送信者リストと照合して、シャドー IT を見つけましょう。

### あらゆるものと連携

Slack アラート、Jira チケット、PagerDuty インシデント、スプレッドシートのエクスポート、PDF 生成 — API がデータを提供し、それをどこに送り、どう見せるかはあなた次第です。

近日公開 

## MCP サーバーをロードマップに掲載

当社は、Claude、GPT、その他の AI アシスタントがあなたの DMARC データにネイティブにアクセスできる Model Context Protocol (MCP) サーバーを構築しています — API 呼び出しを記述する必要も、認証を管理する必要もありません。AI アシスタントにメールセキュリティについて尋ねるだけで、データを直接取得します。

それまでの間も、REST API は問題なく動作します。上記の Claude Code の手順はセットアップに 5 分しかかからず、すべてに完全にアクセスできます。

MCP サーバーへの早期アクセスをご希望ですか？ [お知らせください](/contact/) 

FAQ 

## よくある質問

自分で DMARC メールパーサーを作る必要がありますか？ 

いいえ。DMARC Report はすべての受信集計レポートとフォレンジック XML レポートを自動的に処理します。API はクリーンで構造化された JSON を提供します — 解析済みのレポート、特定された送信者、アラインメント結果、コンプライアンス統計。XML の解析は一切不要です。

DMARC Report API で Claude Code を使えますか？ 

はい。REST API はシンプルなトークン認証を使用し、JSON を返します。Claude Code は API を直接呼び出し、結果を分析し、レポートを生成し、異常をフラグ付けし、DMARC データに基づいてアクションを実行できます。開始のためのサンプルプロンプトと手順を上記に用意しています。

DMARC Report 用の MCP サーバーはありますか？ 

まだありませんが、ロードマップに含まれています。それまでの間、Claude Code は curl を使って REST API を直接呼び出せます — MCP は不要です。MCP サーバーが公開されれば、連携はさらにシンプルになります。

API データで独自のダッシュボードを構築できますか？ 

もちろんです。API は DMARC データへの完全なアクセスを提供します。Grafana、Tableau、Power BI、Google スプレッドシート、その他 JSON を扱うあらゆるツールに取り込めます。多くのお客様が、特定のレポート要件に合わせたカスタムダッシュボードを構築しています。

標準のダッシュボードだけを使いたい場合は？ 

それでも問題ありません。app.dmarcreport.com の DMARC Report ダッシュボードは、すぐに使えるすべてを提供します — 集計レポート、フォレンジック分析、送信者識別、コンプライアンス追跡、アラート。API は、ダッシュボードを超えて活用したいお客様向けです。

## 構築はもう終わり。分析を始めよう。

無料で登録し、API トークンを生成して、5 分で Claude Code を DMARC データに接続しましょう。

[無料で開始 - API トークンを取得](https://app.dmarcreport.com/signup?plan=pro)

## お客様が語る DMARC Report

![G2 Leader - DMARC](https://media.mailhop.org/dmarcreport/images/g2-badges/DMARC_Leader_Leader.png)

Rated 4.8/5 on G2 · 469 verified reviews

![G2 Momentum Leader - DMARC](https://media.mailhop.org/dmarcreport/images/g2-badges/DMARC_MomentumLeader_Leader.png)

DG

Dave G.

Owner

5/5

### "DMARC Report has been invaluable in fixing email deliverability issues for our clients"

DMARC Report dashboard allows us to see easily what is compliant and what isn't compliant so we can quickly fix issues.

9/27/2022Verified on G2

AL

Antoine L.

5/5

### "Incredible Service for an affordable price"

The software is easy to use and has also an entry friendly free plan up to 1,000 mails per month.

9/12/2023Verified on G2

ZK

Zunaid K.

Director

5/5

### "Essential tool for email delivery"

This tool helps us to implement DMARC reporting for our domains in an easy to use manner.

8/8/2024Verified on G2

[Read all 469 reviews on G2 →](https://www.g2.com/products/dmarc-report/reviews)

```json
{"@context":"https://schema.org","@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138898167","name":"DMARC Report","url":"https://dmarcreport.com","logo":{"@type":"ImageObject","url":"https://dmarcreport.com/images/dmarcreport-logo.png"},"description":"DMARC reporting and email authentication management. Monitor aggregate and forensic DMARC reports, analyze authentication results, and enforce DMARC policies across all your domains.","parentOrganization":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138883901","name":"DuoCircle LLC","url":"https://www.duocircle.com","sameAs":["https://www.wikidata.org/wiki/Q138883901","https://www.crunchbase.com/organization/duocircle-llc","https://www.linkedin.com/company/duocircle","https://github.com/duocircle"],"subOrganization":[{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138898167","name":"DMARC Report","url":"https://dmarcreport.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897912","name":"Phish Protection","url":"https://www.phishprotection.com"}]},"sameAs":["https://www.wikidata.org/wiki/Q138898167","https://www.linkedin.com/company/duocircle","https://x.com/duocirclellc","https://www.g2.com/products/dmarc-report/reviews","https://github.com/duocircle","https://www.crunchbase.com/organization/duocircle-llc","https://www.trustradius.com/products/duocircle/reviews"],"aggregateRating":{"@type":"AggregateRating","ratingValue":"4.8","reviewCount":"471","bestRating":"5","worstRating":"1","url":"https://www.g2.com/products/dmarc-report/reviews"},"contactPoint":{"@type":"ContactPoint","contactType":"customer support","url":"https://dmarcreport.com/support/"},"knowsAbout":["DMARC","DMARC Reporting","DMARC Aggregate Reports","DMARC Forensic Reports","Sender Policy Framework","DKIM","Email Authentication","Email Security","DNS Management","Email Deliverability"]}
```

```json
{"@context":"https://schema.org","@type":"WebSite","name":"DMARC Report","url":"https://dmarcreport.com","description":"DMARC reporting and email authentication management. Monitor aggregate and forensic DMARC reports, analyze authentication results, and enforce DMARC policies across all your domains.","publisher":{"@type":"Organization","name":"DMARC Report","url":"https://dmarcreport.com","logo":{"@type":"ImageObject","url":"https://dmarcreport.com/images/dmarcreport-logo.png"},"description":"DMARC reporting and email authentication management. Monitor aggregate and forensic DMARC reports, analyze authentication results, and enforce DMARC policies across all your domains.","parentOrganization":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138883901","name":"DuoCircle LLC","url":"https://www.duocircle.com","sameAs":["https://www.wikidata.org/wiki/Q138883901","https://www.crunchbase.com/organization/duocircle-llc","https://www.linkedin.com/company/duocircle","https://github.com/duocircle"],"subOrganization":[{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138898167","name":"DMARC Report","url":"https://dmarcreport.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897912","name":"Phish Protection","url":"https://www.phishprotection.com"}]}}}
```

```json
[{"@context":"https://schema.org","@type":"SoftwareApplication","name":"DMARC Report AI + API","applicationCategory":"WebApplication","operatingSystem":"Web","description":"REST API that returns parsed DMARC aggregate and forensic report data as structured JSON. Connect AI assistants like Claude Code to analyze email authentication across all your domains.","url":"https://dmarcreport.com/ja/ai/","offers":{"@type":"Offer","price":"0","priceCurrency":"USD"},"provider":{"@type":"Organization","name":"DMARC Report","url":"https://dmarcreport.com"},"aggregateRating":{"@type":"AggregateRating","ratingValue":"4.8","reviewCount":"471","bestRating":"5","worstRating":"1"},"featureList":"DMARC aggregate report parsing, forensic report analysis, sender identification, SPF/DKIM alignment, compliance statistics, REST API, Claude Code integration, MTA-STS reports"}]
```

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://dmarcreport.com/"},{"@type":"ListItem","position":2,"name":"機能","item":"https://dmarcreport.com/ja/kino/"},{"@type":"ListItem","position":3,"name":"AI + API","item":"https://dmarcreport.com/ja/ai/"}]}
```

```json
{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"自分で DMARC メールパーサーを作る必要がありますか？","acceptedAnswer":{"@type":"Answer","text":"いいえ。DMARC Report はすべての受信集計レポートとフォレンジック XML レポートを自動的に処理します。API はクリーンで構造化された JSON を提供します — 解析済みのレポート、特定された送信者、アラインメント結果、コンプライアンス統計。XML の解析は一切不要です。"}},{"@type":"Question","name":"DMARC Report API で Claude Code を使えますか？","acceptedAnswer":{"@type":"Answer","text":"はい。REST API はシンプルなトークン認証を使用し、JSON を返します。Claude Code は API を直接呼び出し、結果を分析し、レポートを生成し、異常をフラグ付けし、DMARC データに基づいてアクションを実行できます。開始のためのサンプルプロンプトと手順を提供しています。"}},{"@type":"Question","name":"DMARC Report 用の MCP サーバーはありますか？","acceptedAnswer":{"@type":"Answer","text":"まだありませんが、ロードマップに含まれています。それまでの間、Claude Code は curl や fetch を使って REST API を直接呼び出せます — MCP は不要です。MCP サーバーが公開されれば、連携はさらにシンプルになります。"}},{"@type":"Question","name":"API はどのようなデータ形式を返しますか？","acceptedAnswer":{"@type":"Answer","text":"すべてのエンドポイントは JSON を返します。集計レポートには送信元 IP、SPF/DKIM 結果、ポリシー評価、送信ボリューム、ベンダー識別が含まれます。フォレンジックレポートには完全なメッセージヘッダーと認証障害の詳細が含まれます。"}},{"@type":"Question","name":"API データで独自のダッシュボードを構築できますか？","acceptedAnswer":{"@type":"Answer","text":"もちろんです。API は DMARC データへの完全なアクセスを提供します。Grafana、Tableau、Power BI、Google スプレッドシート、その他 JSON を扱うあらゆるツールに取り込めます。多くのお客様が、特定のレポート要件に合わせたカスタムダッシュボードを構築しています。"}},{"@type":"Question","name":"レート制限はどうなっていますか？","acceptedAnswer":{"@type":"Answer","text":"API は妥当なボリュームでのプログラムによるアクセスを想定して設計されています。大規模なドメインポートフォリオ向けに高スループットのアクセスが必要な場合は、お問い合わせください。"}}]}
```

```json
{"@context":"https://schema.org","@type":"WebPage","name":"AI-Powered DMARC Analysis - DMARC Report API","url":"https://dmarcreport.com/ja/ai/","description":"Connect Claude Code or any AI assistant to the DMARC Report REST API. Pull parsed aggregate and forensic reports as clean JSON.","speakable":{"@type":"SpeakableSpecification","cssSelector":[".answer-block","h1"]}}
```

```json
{"@context":"https://schema.org","@type":"WebPage","name":"AI-Powered DMARC Analysis - Connect Claude Code to Your Reports","description":"DMARC Report REST API returns parsed, normalized DMARC data as clean JSON. Connect AI tools to analyze email authentication data without building your own XML parser.","url":"https://dmarcreport.com/ja/ai/","speakable":{"@type":"SpeakableSpecification","cssSelector":[".answer-block","h1"]}}
```
