Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Toxicity scores (0-1) for text before an agent posts it. Perspective API compatible. No LLM.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
Authorization「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
このアドレスはリクエストの header にキーが必要ですが、コネクタを追加するメニューでは設定できません。代わりにClaude Code、Cursor、VS Codeを使ってください。
ターミナルでこれを実行します
claude mcp add --transport http perspective-api-alternative https://koyourmoon--perspective-api-alternative.apify.actor/mcp --header 'Authorization: your-value'動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"perspective-api-alternative": {
"url": "https://koyourmoon--perspective-api-alternative.apify.actor/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"perspective-api-alternative": {
"type": "http",
"url": "https://koyourmoon--perspective-api-alternative.apify.actor/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
このアドレスはリクエストの header にキーが必要ですが、コネクタを追加するメニューでは設定できません。代わりにClaude Code、Cursor、VS Codeを使ってください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
Authorization 秘密 必須 HTTP headerこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
このサーバーのツール一覧はまだ読み取っていません。エンドポイントは順番にチェックしています。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント koyourmoon で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
まだチェックしていません。エンドポイントは順番にチェックしています
まだチェックしていません。エンドポイントは順番にチェックしています
まだチェックしていません。エンドポイントをチェックするときにツール一覧を読み取ります
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:Authorization
作者のクラウドで動きます。インストール不要でインターネット経由でつながりますが、送った内容は作者のサーバーを通ります。
GitHubリポジトリの最終更新は–、最新バージョン(1.0.9)がレジストリに届いたのは28 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URLでつながるので、リモートMCPサーバーに対応したアプリ(開発者モードのChatGPTなど)でも使えます。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
This repository contains an MCP server for the stdio transport. The server gives AI agents one tool, analyze_toxicity. 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, SEVERE_TOXICITY, INSULT, PROFANITY, THREAT, IDENTITY_ATTACKThe 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.
The server implementation is server.py in this repository. It uses only the Python standard library (Python 3.9 or later).
initialize, ping and tools/list itself. These messages do not need a token.tools/call, the server sends the texts to the toxicity API on Apify, and returns the scores.APIFY_TOKEN environment variableTo get a token, open the Apify Console. Then go to Settings > API & Integrations.
git clone https://github.com/koyourmoon/perspective-api-alternative-mcp.git
{
"mcpServers": { "perspective-api-alternative": { "command": "python", "args": ["/path/to/perspective-api-alternative-mcp/server.py"], "env": { "APIFY_TOKEN": " " } } } }
docker build -t perspective-api-alternative-mcp .
{
"mcpServers": { "perspective-api-alternative": { "command": "docker", "args": ["run", "-i", "--rm", "-e", "APIFY_TOKEN", "perspective-api-alternative-mcp"], "env": { "APIFY_TOKEN": " " } } } }
| 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:
{
"results": [ { "text": "You are an idiot.", "scores": { "TOXICITY": 0.98, "INSULT": 0.95, "PROFANITY": 0.62 }, "flagged": true, "billed_units": 1 } ] }
If a text looks non-English, the result has a warning field. The scores for that text are not reliable.
| Name | Required | Description |
|---|---|---|
APIFY_TOKEN | Yes, for tools/call | Your Apify API token |
PERSPECTIVE_ALT_URL | No | A different URL for the toxicity API |
You can also connect your MCP client directly to the toxicity API. This connection does not use server.py.
| Item | Value |
|---|---|
| Transport | Streamable HTTP |
| URL | https://koyourmoon--perspective-api-alternative.apify.actor/mcp |
| Authentication | Authorization: Bearer |
| File | Content |
|---|---|
server.py | The MCP server |
Dockerfile | The container image for the server |
glama.json | The maintainer data for Glama |
server.json | The entry for the official MCP Registry |
MIT. This project is not affiliated with Google or Jigsaw. "Perspective API" is a trademark of Google LLC.