Moderation API
Moderation API provides content detection, human review workflows, author management, and moderation actions for online platforms.
Verdict
Common use cases
- Screen user comments before publishing
- Block spam accounts at registration
- Audit uploaded images for policy violations
- Route borderline posts to human review
- Enforce custom profanity wordlists
Integration
- Vendor
- Moderation API
- Category
- other
- Auth
- API_KEY
- Tools
- 11
- Composio slug
moderationapi
Tools
- Evaluate Content Without Storage
Evaluate content without retaining it or adding it to a review queue, and return policy findings and the recommended moderation action.
- Execute Moderation Action
Apply a discovered moderation action to content items or authors. Actions can reject content or block or suspend authors and may be irreversible; inspect LIST_ACTIONS before calling.
- Get Account and Quota
Return the connected Moderation API account, plan, current project, and current quota values.
- Get Review Queue
Return metadata and item counts for a review queue by ID. Requires the paid review-queue add-on; contact Moderation API sales if review queues are not enabled for the connected organization.
- Get Wordlist
Return one wordlist and its current words by ID.
- List Moderation Actions
List moderation actions available to the organization, optionally restricted to a review queue.
- List Review Queue Items
List and filter one page of moderation items in a review queue. Requires the paid Moderation API review-queue add-on.
- List Wordlists
List the organization's wordlists and their identifiers.
- Modify Wordlist Words
Add words to or remove words from an existing wordlist.
- Set Review Queue Item Status
Mark a review queue item resolved or return it to pending. Requires the paid review-queue add-on.
- Submit Content for Moderation
Evaluate content and allow Moderation API to retain it and add it to a review queue according to the project's configuration.
Setup
Setup guide
- 11. In Switchy, open Settings and navigate to the Integrations tab. 2. Click 'Add MCP Integration' and select Moderation API from the list. 3. You'll be prompted to paste an API key; generate one in your Moderation API dashboard under API Keys. 4. Grant the key read and write permissions if you plan to execute moderation actions, or read-only if you only want to evaluate content. 5. Click 'Connect' and wait for Switchy to verify the key. 6. Open any Project, type '@Moderation API get account and quota' and send the message. 7. If the MCP returns your account name and current quota, the connection is live. 8. To test a real workflow, paste sample text into the chat and ask '@Moderation API evaluate this content without storage' — you'll see policy findings and a recommended action.
What teammates see: by default, memories from Moderation API are scoped to the Project (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.
Works well with
Top models
Compatibility data appears once enough Projects have used this MCP together with a given model.
How Switchy teams use it
Starter prompts
Evaluate User Comment
@Moderation API evaluate this content without storage: 'Your product is garbage and your support team are idiots.' Tell me the policy findings and what action you recommend.
Check Profile Bio
@Moderation API evaluate this profile bio without storage: 'Follow me on Instagram for free crypto tips! Link in bio.' What policies does this violate and should we block the account?
List Available Actions
@Moderation API list moderation actions for our organization. Show me the action IDs, what each one does, and whether it's reversible.
Fetch Review Queue
@Moderation API get review queue with ID 'queue_abc123'. Tell me how many items are pending, how many we've reviewed today, and the queue's current status.
Audit Custom Wordlist
@Moderation API get wordlist with ID 'wordlist_xyz789'. Show me all the words currently in this list and when it was last updated.
Example outputs
Illustrative - representative of the model's voice and quality, not literal recordings.
@moderation check this user comment for policy violations: 'Hey everyone, check out my store at example.com for cheap deals! DM me for discount codes.'
The Moderation API evaluated the comment and flagged two policy violations: commercial spam (confidence: 0.92) and solicitation (confidence: 0.87). Recommended action: REJECT_CONTENT. The comment contains promotional language and a direct commercial link, which violates typical community guidelines around unsolicited advertising. No data was stored during this evaluation.
This example uses the ephemeral evaluation tool, which returns findings without persisting content. Useful for real-time checks before publishing. Note that confidence thresholds and policy definitions vary by your organization's configuration—what counts as 'spam' depends on the rules you've defined in your Moderation API project settings.
@moderation apply action 'suspend_author_7d' to user ID usr_abc123 for repeated spam violations
Action 'suspend_author_7d' successfully applied to user usr_abc123. The user account is now suspended for 7 days and cannot post new content or comments during this period. This action was logged in your moderation audit trail with timestamp 2025-01-15T18:42:33Z. The suspension will automatically lift on 2025-01-22T18:42:33Z unless manually revoked.
This demonstrates the execute-action tool, which applies real moderation consequences. Actions like suspensions and content rejections are often irreversible or require manual intervention to undo. Always verify the action ID and target before executing—use LIST_ACTIONS first to confirm available actions and their effects for your organization.
@moderation pull the last 20 items from review queue 'user-reports' and summarize which ones need immediate attention based on severity and report count
Retrieved 20 items from the 'user-reports' queue. Three require immediate attention: Item #4471 (hate speech, 12 user reports, confidence 0.95), Item #4468 (graphic violence, 8 reports, confidence 0.89), and Item #4455 (targeted harassment, 6 reports, confidence 0.91). The remaining 17 items are lower-priority spam or off-topic flags. All three high-priority items were flagged within the last 4 hours and involve different authors.
This synthesis example combines the list-queue-items tool with AI reasoning to triage a moderation backlog. Requires the paid review-queue add-on from Moderation API—if your organization hasn't purchased this feature, queue-related tools will return errors. The AI can help prioritize, but final moderation decisions should involve human judgment for context the API can't capture.
Use-case deep-dives
When you need content moderation before hiring moderators
A 6-person startup launching a user forum needs content filtering from day one but can't afford full-time moderators yet. This MCP is the right call if you're building moderation into your product workflow—evaluate-content-without-storage runs policy checks inline before posts go live, and execute-moderation-action can auto-reject or flag borderline cases. The wordlist tools let you tune filters as your community grows. The threshold: if you need human review queues for edge cases, you'll hit the paid add-on wall fast. If your volume is under 500 posts a day and your policies are clear-cut (profanity, spam, obvious hate speech), the free tier plus this MCP covers launch through your first few hundred users.
Filtering abusive support requests at scale
A 12-person SaaS company gets 200 support tickets a day, and 8% contain threats or abusive language that burn out the support team. This MCP wins if you want to auto-flag or auto-close the worst offenders before they hit your queue. Evaluate-content-without-storage runs on every inbound ticket; execute-moderation-action can suspend repeat offenders or route flagged tickets to a senior agent. The get-account-and-quota tool helps you track usage so you don't blow your API limit mid-month. The trade-off: if your ticket system already has moderation hooks (Zendesk, Intercom), you might not need the MCP layer—check if your platform's native integration is faster. If you're on a custom helpdesk or stitching together Slack and email, this MCP is the fastest path to sane filtering.
When review queues justify the paid add-on
A 20-person marketplace team processes 1,200 seller listings a week, mixing auto-approval with human review for edge cases. This MCP makes sense only if you're already paying for Moderation API's review-queue add-on—list-review-queue-items and get-review-queue let your ops team pull flagged listings into Switchy for batch decisions during daily triage. The execute-moderation-action tool closes the loop by applying bulk approvals or rejections back to the API. The boundary: if you're not paying for review queues, you lose half the MCP's value and should evaluate lighter tools like OpenAI's moderation endpoint first. If you are paying and your team lives in Switchy for ops work, this MCP turns moderation into a first-class workflow instead of a separate dashboard you context-switch to.
Frequently asked
What does the Moderation API MCP do in Switchy?
It connects your team's Moderation API account so AI agents can check user-generated content against your policies, execute moderation actions like blocking authors or rejecting posts, and manage wordlists. Agents can evaluate content on the fly or pull items from review queues if you have the paid add-on enabled.
Do I need special permissions to connect Moderation API?
You need an API key from your Moderation API account. The key must have permissions to read account details, evaluate content, and execute actions. If you want agents to access review queues, your organization must have the paid review-queue add-on enabled before connecting.
Can the MCP automatically moderate content without human review?
Yes. The Evaluate Content Without Storage tool returns policy findings and a recommended action without saving anything to a queue. Agents can then call Execute Moderation Action to reject content or suspend authors. These actions may be irreversible, so test your prompts carefully before deploying.
How is this different from calling Moderation API directly?
Direct API calls require you to write code that parses responses and handles rate limits. The MCP wraps those calls into tools that AI agents can invoke conversationally. Agents can chain evaluations, check wordlists, and execute actions in one workflow without custom integration code.
Who on the team should connect this MCP?
Whoever manages your content moderation policies and has access to your Moderation API dashboard. They'll generate the API key and confirm which actions agents are allowed to execute. Keep the connection restricted to team members who understand the consequences of automated moderation decisions.