Perspective API

Perspective API

mtane0412

Analyzes text for toxicity and harmful content using Google's Perspective API. Helps moderate comments, messages, and user-generated content across multiple languages.

Integrates with Perspective API to analyze text toxicity and provide content moderation across multiple languages for enhanced online safety.

309 views3Local (stdio)

What it does

  • Analyze text toxicity scores
  • Detect harmful or abusive language
  • Moderate user-generated content
  • Score text across multiple languages
  • Generate content safety reports

Best for

Social media platforms needing comment moderationChat applications filtering toxic messagesContent management systems with user submissionsCommunity forums maintaining safety standards
Multi-language toxicity detectionGoogle's production-grade AI model

About Perspective API

Perspective API is a community-built MCP server published by mtane0412 that provides AI assistants with tools and capabilities via the Model Context Protocol. Enhance online safety with Perspective API—AI-powered content moderation for Reddit, YouTube, and more. Detect toxicity It is categorized under ai ml.

How to install

You can install Perspective API in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

Perspective API is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Perspective MCP Server

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

Features

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

Usage

  1. Get your Perspective API key
  2. Add the server to your MCP settings file
{
  "mcpServers": {
    "perspective": {
      "command": "npx",
      "args": [
        "-y",
        "@mtane0412/perspective-mcp-server"
        ],
      "env": {
        "PERSPECTIVE_API_KEY": "your-api-key"
      }
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspect

The Inspector will provide a URL to access debugging tools in your browser.

License

MIT License

Alternatives

Related Skills

Browse all skills
x-research

General-purpose X/Twitter research agent. Searches X for real-time perspectives, dev discussions, product feedback, cultural takes, breaking news, and expert opinions. Works like a web research agent but uses X as the source. Use when: (1) user says "x research", "search x for", "search twitter for", "what are people saying about", "what's twitter saying", "check x for", "x search", "/x-research", (2) user is working on something where recent X discourse would provide useful context (new library releases, API changes, product launches, cultural events, industry drama), (3) user wants to find what devs/experts/community thinks about a topic. NOT for: posting tweets, account management, or historical archive searches beyond 7 days.

0
flutter-development

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

969
nano-banana-pro

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

341
fastapi-templates

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

231
android-kotlin-development

Develop native Android apps with Kotlin. Covers MVVM with Jetpack, Compose for modern UI, Retrofit for API calls, Room for local storage, and navigation architecture.

80
mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

67