About
A lightweight MCP server that connects to the Perspective API, offering text toxicity analysis and score suggestions across multiple attributes and languages. It enables developers to embed content moderation directly into MCP-based applications.
Capabilities
Overview
Perspective MCP Server bridges the gap between AI assistants and human‑centric content moderation by exposing the Google Perspective API through the Model Context Protocol. In many AI applications—chatbots, content creation tools, or moderation pipelines—developers need a lightweight, standardized way to evaluate text for toxicity and related attributes. Perspective MCP Server solves this by providing a ready‑to‑run MCP endpoint that accepts raw text and returns structured scores for a range of toxicity dimensions. This eliminates the need to build custom HTTP clients, handle authentication, or parse JSON responses manually.
The server exposes a single tool that accepts a text string and returns scores for six key attributes: TOXICITY, SEVERE_TOXICITY, IDENTITY_ATTACK, INSULT, PROFANITY, and THREAT. Each attribute is quantified on a scale from 0 to 1, allowing developers to set thresholds or combine scores in custom ways. Multi‑language support means the same tool can be used for content written in Spanish, French, Arabic, or any language supported by the underlying API, making it suitable for global applications. Because MCP servers communicate over standard I/O streams, the server can be launched as a child process from any language that supports MCP, and it remains agnostic to the host environment.
For developers building AI assistants, Perspective MCP Server fits seamlessly into existing workflows. An assistant can invoke the tool to automatically flag potentially harmful user messages before they are displayed or stored, ensuring compliance with platform policies. In a content‑generation scenario, the assistant can iterate over generated drafts and use the toxicity scores to prune or rewrite sections that exceed a user‑defined threshold. The server’s simple JSON schema also allows integration with orchestration frameworks, enabling batch processing of multiple messages or real‑time streaming analysis in conversational agents.
Unique advantages include the zero‑configuration nature of the MCP interface: once the API key is set in an environment variable, the server requires no additional setup. The tool’s ability to return scores for multiple attributes in a single request reduces latency compared to calling separate endpoints. Additionally, the server’s compatibility with the MCP Inspector provides developers with an immediate debugging UI—useful for troubleshooting scoring anomalies or monitoring API usage patterns. In sum, Perspective MCP Server delivers a plug‑and‑play, language‑agnostic solution for toxicity analysis that empowers AI developers to build safer, more responsible applications.
Related Servers
n8n
Self‑hosted, code‑first workflow automation platform
FastMCP
TypeScript framework for rapid MCP server development
Activepieces
Open-source AI automation platform for building and deploying extensible workflows
MaxKB
Enterprise‑grade AI agent platform with RAG and workflow orchestration.
Filestash
Web‑based file manager for any storage backend
MCP for Beginners
Learn Model Context Protocol with hands‑on examples
Weekly Views
Server Health
Information
Explore More Servers
Okctl MCP Server
Control OceanBase via MCP protocol
YR MCP Server
Efficient, lightweight Model Context Protocol server for Python projects.
Together AI Image Server
Generate images from text prompts via Together AI API
MCP Registry
Central hub for Model Control Protocol servers
AI Publications MCP Server
Showcase and share AI research through a lightweight MCP server
Mysheet MCP Server
Convert Excel to JSON for AI models quickly