MCP.so
Sign In

Perspective MCP Server

@mtane0412

Basic information

Category

Other

License

MIT

Transports

stdio

Author

mtane0412

About Perspective MCP Server

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

#perspective-mcp-server#mcp#perspective-api

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

2

テキストを分析し、有害性などのスコアを返します

テキストに対する新しいスコアを提案します

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

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

More Other MCP servers