Feedback

Perspective API MCP Server

@mtane0412 Claim

Basic information

Runtime
JavaScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
mtane0412
Submitted by
Community
Quality
20

About Perspective API MCP Server

Enhance online safety with Perspective API—AI-powered content moderation for Reddit, YouTube, and more. Detect toxicity across languages.

Perspective API is a MCP server in the Ai Ml category listed in the AddMCP.net directory, published by mtane0412. It exposes 2 tools, including analyze_text, suggest_score. Supported transport: stdio. Runtime: JavaScript. License: MIT. Source code is hosted on github.com. Related topics: ai-ml, community, mcp, perspective-api, perspective-mcp-server.

Setup

{
    "mcpServers": {
        "perspective": {
            "command": "npx",
            "args": [
                "-y",
                "@mtane0412/perspective-mcp-server"
            ],
            "env": {
                "PERSPECTIVE_API_KEY": "your-api-key"
            }
        }
    }
}

Perspective API MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "perspective": {
            "command": "npx",
            "args": [
                "-y",
                "@mtane0412/perspective-mcp-server"
            ],
            "env": {
                "PERSPECTIVE_API_KEY": "your-api-key"
            }
        }
    }
}

Perspective API MCP Server tools

  • analyze_text — テキストを分析し、有害性などのスコアを返します
    text:string*, attributes:array, languages:array
  • suggest_score — テキストに対する新しいスコアを提案します
    text:string*, attribute:string*, suggestedScore:number*

Overview

What is Perspective API?

A Model Context Protocol (MCP) server that provides tools for interacting with the Perspective API. It enables text toxicity analysis, score suggestions, and supports multiple attributes and languages. Built for developers integrating content moderation into AI assistants or applications.

How to use Perspective API?

Add the server to your MCP settings file with the command npx -y @mtane0412/perspective-mcp-server and set the PERSPECTIVE_API_KEY environment variable to your Perspective API key. The server communicates over stdio.

Key features of Perspective API

  • Text toxicity analysis using Perspective API
  • Score suggestions for moderation decisions
  • Support for multiple attributes (TOXICITY, SEVERE_TOXICITY, IDENTITY_ATTACK, INSULT, PROFANITY, THREAT)
  • Multi-language support

Use cases of Perspective API

  • Analyze toxicity in user-generated comments or messages
  • Suggest moderation scores for content review workflows
  • Integrate content safety checks into AI chat interfaces
  • Support multilingual toxicity detection in global applications

Frequently asked questions

1 What API key is needed?

You need a Perspective API key from Google Cloud. Set it as the PERSPECTIVE_API_KEY environment variable in the MCP server configuration.

2 What attributes does the server support?

It supports TOXICITY, SEVERE_TOXICITY, IDENTITY_ATTACK, INSULT, PROFANITY, and THREAT.

3 Does it support multiple languages?

Yes, Perspective API’s multi-language support is available through this server.

4 How do I debug the server?

Use the MCP Inspector. Run npm run inspect to get a URL for debugging tools in your browser.

5 What transport does it use?

The server communicates over stdio, as is standard for MCP servers.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬