---
slug: "perspective"
source_type: "readme"
source_url: "https://cdn.jsdelivr.net/gh/mtane0412/perspective-mcp-server@main/README.md"
repo: "https://github.com/mtane0412/perspective-mcp-server"
source_file: "README.md"
branch: "main"
---
# 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

```json
{
  "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](https://github.com/modelcontextprotocol/inspector), which is available as a package script:

```bash
npm run inspect
```

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

## License

MIT License