Independent by design · no pay-to-rank placements  · How we evaluate tools →
Anclum Submit
K

koyourmoon/perspective-api-alternative-mcp

MCP server (stdio, Python, no dependencies): toxicity scores (0-1) for text before an AI agent posts it. Google Perspective API compatible. No LLM.

Before you install: no copy-paste command · license MIT · link reachable

First step: git clone https://github.com/koyourmoon/perspective-api-alternative-mcp.git

no SECURITY.md
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
Remote endpoint (mcpServers - Claude Desktop / Cursor / Windsurf)
{
  "mcpServers": {
    "koyourmoon-perspective-api-alternative-m": {
      "url": "https://koyourmoon--perspective-api-alternative.apify.actor/mcp"
    }
  }
}
Paste this into the mcpServers config of Claude Desktop or Cursor. The endpoint comes from public evidence; we do not install or host it. Official Registry record: this endpoint declares a required request header Authorization (Bearer <your Apify API token>). Using it means bringing your own credentials.
VS Code (.vscode/mcp.json - the key is servers, remote needs type: http)
{
  "servers": {
    "koyourmoon-perspective-api-alternative-m": {
      "type": "http",
      "url": "https://koyourmoon--perspective-api-alternative.apify.actor/mcp"
    }
  }
}
VS Code differs from the other three: the top-level key is <code>servers</code> and a remote endpoint also needs <code>"type": "http"</code>. Paste into .vscode/mcp.json.
Claude Code (command line)
claude mcp add --transport http koyourmoon-perspective-api-alternative-m https://koyourmoon--perspective-api-alternative.apify.actor/mcp
Claude Code does not read a config file; add the server with this command.
Key names differ by client: Clients & CLI
Star count
0 ★ · koyourmoon/perspective-api-alternative-mcp · read from the GitHub search API · (checked 2026-11-13 20:00:50)
Source
collected from the punkpeye/awesome-mcp-servers list · type: MCP server
Harvest history
first seen 2026-10-23 · last seen 2026-11-14 · seen 26× · listed by 23 sources
Score
score 2,300 · 23 sources · mcp
FAQ (answers come from our records)
How do I install it?
We did not find an install command for this repository (our install coverage is only about 4%). Check its README or releases page.
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository koyourmoon/perspective-api-alternative-mcp;first catalogued 2026-10-23;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.

# Perspective API Alternative: Toxicity Detection MCP Server

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

This repository contains an MCP server for the stdio transport. The server gives AI agents one tool, analyzetoxicity. Use the tool to examine text before an agent publishes it.
The tool returns six scores from 0 to 1 and a flagged value for each text:
TOXICITY, SEVERETOXICITY, INSULT, PROFANITY, THREAT, IDENTITYATTACK
The scores come from the open-source Detoxify model. The model is not an LLM. Thus, the same text always gets the same score. English only.
The request and response format is the same as the format of the Google Perspective API. Google stops the Perspective API on December 31, 2026.
## How the server operates
The server implementation is server.py in this repository. It uses only the Python standard library (Python 3.9 or later).
The server reads JSON-RPC messages from stdin and writes the responses to stdout.
The server answers initialize, ping and tools/list itself. These messages do not need a token.
For tools/call, the server sends the texts to the toxicity API on Apify, and returns the scores.
The toxicity API runs the Detoxify model. You pay for each call through your Apify account.
## Requirements
Python 3.9 or later, or Docker
An Apify API token in the APIFYTOKEN environment variable
To get a token, open the Apify Console. Then go to Settings > API & Integrations.
## Installation
### Python
1. Clone the repository:
bash
git clone https://github.com/koyourmoon/perspective-api-alternative-mcp.git
2. Add the server to the configuration of your MCP client:
json
"mcpServers": {
"perspective-api-alternative": {
"command": "python",
"args": ["/path/to/perspective-api-alternative-mcp/server.py"],
"env": { "APIFYTOKEN": " " }
### Docker
1. Build the image:
bash
docker build -t perspective-api-alternative-mcp .
2. Add the server to the configuration of your MCP client:
json
"mcpServers": {
"perspective-api-alternative": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "APIFYTOKEN", "perspective-api-alternative-mcp"],
"env": { "APIFYTOKEN": " " }
## Tool: analyzetoxicity
| Parameter | Type | Description |
| texts | array of strings, required | 1 to 100 English texts to score |
| attributes | array of strings | Attributes to return. The default is all six. |
| threshold | number | TOXICITY score at which a text is flagged. The default is 0.5. |
Example result for one text:
json
"results": [
"text": "You are an idiot.",
"scores": { "TOXICITY": 0.98, "INSULT": 0.95, "PROFANITY": 0.62 },
"flagged": true,
"billedunits": 1
If a text looks non-English, the result has a warning field. The scores for that text are not reliable.
## Environment variables
| Name | Required | Description |
| APIFYTOKEN | Yes, for tools/call | Your Apify API token |
| PERSPECTIVEALTURL | No | A different URL for the toxicity API |
## Prices
$0.50 for 1,000 text units. A text unit is each started 1,000 characters of a text. Most comments are 1 unit.
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/en/s/koyourmoon-perspective-api-alternative-mcp/)
Source
awesome · https://github.com/koyourmoon/perspective-api-alternative-mcp
Browse by field
MCP servers
Listed by
23 independent sources
added
today
Security policy
no SECURITY.md at the repository root (which does not mean it is unsafe)

More like this

All 6,229 →

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields →

← Back to index