MCP.so
Sign In

Perspective MCP Server

@mtane0412

About Perspective MCP Server

A Model Context Protocol (MCP) server that provides tools for interacting with Perspective API

Basic information

Category

Other

License

MIT

Runtime

node

Transports

stdio

Publisher

mtane0412

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"
      }
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Perspective MCP Server?

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 MCP Server?

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 MCP Server

  • 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 MCP Server

  • 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

FAQ from Perspective MCP Server

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.

What attributes does the server support?

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

Does it support multiple languages?

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

How do I debug the server?

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

What transport does it use?

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

Comments

More Other MCP servers