Moderation API — Claude Code MCP server: what it does, how to install
Gives an agent control over your Moderation API account: review queues, authors, policies and wordlists. It clears a backlog, tunes thresholds from flagged examples, and reacts to a spam spike.
MIT updated 2026-10-29
claude mcp add --transport http moderation-api https://mcp.moderationapi.com/mcpWhat Moderation API does
The server runs remotely at https://mcp.moderationapi.com/mcp, so there's nothing to install locally. Every REST API endpoint has its own tool: content submission, review queues, authors, moderation actions, policies and wordlists, webhooks, projects, and analytics. Calls go through the same API your application code uses, so rate limits and request logs stay consistent.
Read-only tools run without confirmation, while tools that change or delete data are flagged separately, and most agents pause to ask before running those. Connecting requires a Moderation API account with the Owner, Admin, or Developer role. Once signed in, any queue item the agent resolves or action it runs shows up in the log under your name as the reviewer.
For setups without a browser, such as CI pipelines, authentication works through a bearer token header instead of the interactive sign-in flow. A separate setup skill wires Moderation API into your application code, and a CLI handles sign-in, project creation, and API key generation from the terminal.
What it helps with
- clear a review queue and reject obvious spam
- check an author's history and suspend repeat offenders
- retune policy thresholds from examples of false flags
- find and block authors during a spam spike
- pull a report on queue activity and author trends
Example prompts for the agent
- Go through today's review queue, reject the obvious spam, and flag the 5 cases you're unsure about
- Check user 8812's history and suspend them if there's a pattern of abuse
- These 10 flagged comments are fine and these 3 got through — fix the channel's policy
How to install Moderation API
Platform CLI: remote server
claude mcp add --transport http moderation-api https://mcp.moderationapi.com/mcpPlatform CLI: remote server
codex mcp add moderation-api --url https://mcp.moderationapi.com/mcpConfig file
{
"mcpServers": {
"moderation-api": {
"url": "https://mcp.moderationapi.com/mcp"
}
}
}Config file
{
"servers": {
"moderation-api": {
"type": "http",
"url": "https://mcp.moderationapi.com/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http moderation-api https://mcp.moderationapi.com/mcpStep 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 Moderation API
How do I install Moderation API in Claude Code?
Run claude mcp add --transport http moderation-api https://mcp.moderationapi.com/mcp.
What does the Moderation API MCP server do?
It gives an agent tools to work through review queues, authors, policies, wordlists, webhooks and analytics in your Moderation API account via its REST API.
What access do I need to connect it?
You need a Moderation API account with the Owner, Admin, or Developer role; the agent can reach whichever projects your account can reach.