mcpField
M
Moderation API

Moderation API

Remote
docs.moderationapi.comSecurity0Updated 3d ago

About Moderation API

Moderation API is a hosted MCP server for managing content moderation work through Moderation API. It serves teams and agents handling review queues, authors, policies, incidents, and analytics, with tools corresponding to the REST API endpoints.

Key features

  1. 01Review queue triage and resolution
  2. 02Author lookup and account actions
  3. 03Policy and wordlist management
  4. 04Moderation analytics and reporting
  5. 05Projects, webhooks, and API key management
  6. 06Prompts for common moderation tasks

Use cases

  1. 01Review unresolved content and resolve queue items
  2. 02Investigate authors and respond to abuse patterns
  3. 03Adjust policies using flagged and missed examples
  4. 04Track moderation incidents and monthly trends

MCP support

The hosted server at `https://mcp.moderationapi.com/mcp` exposes tools for the Moderation API REST endpoints, along with task prompts. MCP clients authenticate through browser sign-in or an API key.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://mcp.moderationapi.com/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

Details

From the project README
Moderation API

Moderation API MCP Server

Let AI agents run your Moderation API account: work through review queues, investigate authors, tune policies and wordlists, respond to incidents and report on how moderation is going.

This is a hosted (remote) Model Context Protocol server. Connect Claude, Cursor or any other MCP client to:

https://mcp.moderationapi.com/mcp

There is nothing to install. The server has one tool for each endpoint of the REST API, and it calls the same API as your code, so rate limits, quotas and request logs work the same way.

What your agent can do

  • Triage the review queue. "Go through today's unresolved items, reject the obvious spam, and show me the 5 you're unsure about." The agent does the first pass; you make the judgment calls.
  • Investigate an author. "Is user 8812 a bad actor? Check their history and suspend them if it's a pattern."
  • Tune policies from real examples. "These 10 comments got flagged but are fine, and these 3 got through. Fix it." The agent tests the examples without storing them, finds the thresholds or wordlist entries that separate them, and updates the channel.
  • Respond to incidents. "There's a raid of crypto scam posts in the last hour. Find them, block the authors, and add the domains to the blocklist."
  • Set up moderation without the dashboard. "Set up moderation for our new marketplace: a channel for listings, one for messages, and a webhook to our endpoint." Then send test content to check it.
  • Report and audit. "How did moderation go this month?" Queue stats, actions and author trends turned into a summary.
  • Combine with your other tools. A daily queue digest in Slack, an issue when a policy keeps misfiring, a draft reply to the user whose post was removed.

The server also ships prompts (recipes) for these jobs: triage-queue, check-author, tune-policy, incident-response and moderation-report. More example prompts: What your agent can do.

Tools

AreaWhat the tools do
ContentSubmit content and read the result, with or without storing it; allow or reject content
Review queuesList queues and items, resolve and unresolve items one by one or up to 100 at a time, queue statistics
AuthorsList, look up, create and update authors; block, suspend and unblock them
ActionsList and run moderation actions on content and authors; create and change actions
PoliciesRead and change channels and their policies; create and change wordlists and their words
AnalyticsSummary, most flagged policies and authors, numbers per channel, volumes over time, automation
ProjectsList, create, change and duplicate projects; create API keys
WebhooksList, create and change webhooks
FeedbackSend a feature request to the Moderation API team

Read-only tools are marked as read-only, so your agent can run them without asking. Tools that change or delete data are marked as such, and most agents ask you before they run them.

Setup

You need a Moderation API account with the Owner, Admin or Developer role. Sign up free.

Claude Code
claude mcp add --transport http moderation-api https://mcp.moderationapi.com/mcp

Or install the plugin, which adds the MCP server and the setup skill together.

Claude and Claude Desktop

Open Settings → Connectors → Add custom connector, and enter https://mcp.moderationapi.com/mcp.

Cursor

Add the server to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json for all projects:

{
  "mcpServers": {
    "moderation-api": {
      "url": "https://mcp.moderationapi.com/mcp"
    }
  }
}
Other clients

Add a remote MCP server with the URL https://mcp.moderationapi.com/mcp and the Streamable HTTP transport.

Sign in

The first time your agent uses the server, your browser opens:

  1. Sign in with your Moderation API account.
  2. Pick the organization the agent can use.
  3. Approve the connection.

The agent can reach the projects that you can reach. Each connection gets its own API key, shown on the API keys page and named after the app and your email. Delete the key to end the connection. When the agent resolves queue items or runs actions, the review queue shows you as the reviewer.

Without a browser

Agents that cannot open a browser, for example in CI, can send an API key instead:

claude mcp add --transport http moderation-api https://mcp.moderationapi.com/mcp \
  --header "Authorization: Bearer $MODAPI_SECRET_KEY"

A project key reaches one project. An organization key reaches the projects you allow it to.

Projects

Tools that work on content in a project take an optional projectId. You can give the project ID or its name. When it's left out and the key reaches more than one project, the tool returns the projects to choose from.

Other tools for agents

  • Setup skill: lets a coding agent add Moderation API to your app's code. npx skills add moderation-api/skills
  • CLI: sign in, create a project and write API keys from the terminal. modapi init

See Build with AI agents.

Links

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.