Perspective API Alternative (Toxicity Detection)
Toxicity scores for text before an agent posts it, Perspective-compatible and LLM-free
- Pricing
- Paid
- Platforms
- API, CLI
- Runs
- Remotely
- Version
- 1.0.9
- Listing updated
- 2 days ago
About Perspective API Alternative (Toxicity Detection)
Perspective API Alternative (Toxicity Detection) is a paid MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.
Google is retiring its Perspective API on December 31, 2026, and this Actor on Apify copies its request and response format so moving over means changing the URL. It scores TOXICITY, SEVERE_TOXICITY, INSULT, PROFANITY, THREAT and IDENTITY_ATTACK from 0 to 1 using the open-source Detoxify model rather than an LLM, so the same text always scores the same. The README says English only, with a warning field on text that looks non-English.
The MCP server exposes a single tool, analyze_toxicity, taking 1 to 100 texts, an optional attribute list and a flag threshold (default 0.5 on toxicity). Long texts are chunked with overlap, but the author warns one insult in a very long polite text can score below 0.5, suggesting span annotations or a lower threshold.
Requests via API and MCP are held in memory only. Pricing on Apify starts at $0.35 per 1,000 text units; the README quotes $0.50 for the stdio package, and the first call after 60 idle seconds can take 10 to 30 seconds.
Install
Run in a terminal
claude mcp add --transport http perspective-api-alternative https://koyourmoon--perspective-api-alternative.apify.actor/mcpAdd to Settings → Connectors → Add custom connector
https://koyourmoon--perspective-api-alternative.apify.actor/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"perspective-api-alternative": {
"url": "https://koyourmoon--perspective-api-alternative.apify.actor/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"perspective-api-alternative": {
"type": "http",
"url": "https://koyourmoon--perspective-api-alternative.apify.actor/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"perspective-api-alternative": {
"serverUrl": "https://koyourmoon--perspective-api-alternative.apify.actor/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"perspective-api-alternative": {
"type": "http",
"url": "https://koyourmoon--perspective-api-alternative.apify.actor/mcp"
}
}
}Tools this server provides (1)
Taken from the project documentation; the running server may differ.
- analyze_toxicity
- Scores 1 to 100 English texts for six toxicity attributes and flags those above a threshold.
What it does
- Perspective-compatible API
- Same request and response format and attribute names.
- Six attributes
- Toxicity, severe toxicity, insult, profanity, threat and identity attack.
- Deterministic
- Open-source Detoxify model, no LLM.
- Batch scoring
- Up to 100 comments per call.
- No stored text
- API and MCP requests are kept in memory only.
Good for
- Screen an agent's reply before it posts
- Replace Perspective API in a comment system
- Moderate batches of user comments
- Flag toxic text above a custom threshold
Pricing
Paid
From $0.35 per 1,000 text units on Apify; free Apify plan has $5 of usage
Prices change. Check apify.com before you buy.
Perspective API Alternative (Toxicity Detection) FAQ
Does it support languages other than English?
No. The README says English only, with a warning on non-English text.
Is the score repeatable?
Yes, because no LLM is used.
Is my text stored?
The page says API and MCP requests are kept in memory and not logged.
What does it cost?
From $0.35 per 1,000 text units on Apify.
Is Perspective API Alternative (Toxicity Detection) free?
No. Perspective API Alternative (Toxicity Detection) is a paid product.
How do I add Perspective API Alternative (Toxicity Detection) to Claude Code?
Run this command in your terminal: claude mcp add --transport http perspective-api-alternative https://koyourmoon--perspective-api-alternative.apify.actor/mcp
What are the best alternatives to Perspective API Alternative (Toxicity Detection)?
The closest alternatives to Perspective API Alternative (Toxicity Detection) are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to Perspective API Alternative (Toxicity Detection)

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools