Perspective MCP Server logo

Perspective MCP Server

by mtane0412

The Perspective MCP Server provides tools for interacting with the Perspective API. It allows for text toxicity analysis and score suggestions within the Model Context Protocol.

View on GitHub

Last updated: N/A

What is Perspective MCP Server?

A Model Context Protocol (MCP) server that provides tools for interacting with the Perspective API, enabling text analysis and score suggestions.

How to use Perspective MCP Server?

  1. Obtain a Perspective API key.
  2. Add the server configuration to your MCP settings file, including the API key in the environment variables.

Key features of Perspective MCP Server

  • Text toxicity analysis

  • Score suggestions

  • Support for multiple attributes (TOXICITY, SEVERE_TOXICITY, IDENTITY_ATTACK, INSULT, PROFANITY, THREAT)

  • Multi-language support

Use cases of Perspective MCP Server

  • Content moderation in online forums

  • Detecting toxic comments in social media

  • Analyzing user-generated content for harmful language

  • Improving online communication by identifying potentially offensive text

FAQ from Perspective MCP Server

What is the Perspective API?

The Perspective API is a service that uses machine learning to score the perceived impact a comment might have on a conversation.

How do I get a Perspective API key?

You need to sign up for the Perspective API and obtain an API key from Google Cloud Platform.

What attributes are supported?

The server supports attributes like TOXICITY, SEVERE_TOXICITY, IDENTITY_ATTACK, INSULT, PROFANITY, and THREAT.

How can I debug the server?

Use the MCP Inspector, available as a package script, to access debugging tools in your browser.

What license is the server released under?

The server is released under the MIT License.