pangram-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pangram-mcp Check if this paragraph is AI-written: 'The sky is blue.'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pangram-mcp
An MCP server for Pangram Labs
AI-generated-text detection. Exposes a single analyze tool that classifies text as
human-written, AI-generated, or AI-assisted — with an overall verdict, per-class
fractions, and a per-segment breakdown.
The API key stays in the server's environment and is sent as the x-api-key header; it
is never returned to the model or logged. Callers pass text and receive a classification
— they never handle the credential.
Install / run
Requires an API key from Pangram Labs:
export PANGRAM_API_KEY="your-key"
uvx pangram-mcpMCP client config
{
"mcpServers": {
"pangram": {
"command": "uvx",
"args": ["pangram-mcp"],
"env": { "PANGRAM_API_KEY": "your-key" }
}
}
}Related MCP server: consulting-mcp-server
Configuration
Env var | Required | Default | Purpose |
| yes | — | Pangram Labs API key. |
| no |
| Endpoint override. |
| no |
| Request timeout (seconds). |
Tool: analyze
Detect AI-generated text.
Parameter | Type | Description |
| string | Text to classify (required). |
| bool | Request a public shareable Pangram dashboard link (default |
The tool takes inline text only — not a file path. Reading files server-side would let a caller exfiltrate any file the process can read, bypassing the harness's permission-gated file tools. Read files with your own tools and pass the text.
Returns structured output: prediction, prediction_short, headline,
fraction_ai / fraction_ai_assisted / fraction_human (0.0–1.0),
num_ai_segments / num_ai_assisted_segments / num_human_segments, a windows
array (per-segment label, ai_assistance_score, confidence, indices), and an
optional dashboard_link.
Development
uv sync --extra dev
uv run pytest
uv run ruff check .
uv run mypy srcLicense
MIT — see LICENSE.
Available Tools
1 toolanalyzeARead-onlyIdempotent
Detect AI-generated text with Pangram Labs.
Classifies the input as human-written, AI-generated, or AI-assisted and returns an
overall verdict (prediction), per-class fractions 0.0-1.0
(fraction_ai / fraction_ai_assisted / fraction_human), segment counts, and a
per-segment breakdown (windows).
Requires the PANGRAM_API_KEY environment variable.
Inputs: text (required), public_dashboard_link. Returns: Structured result of a Pangram AI-detection call.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only a single tool, there is no possibility of overlap or misselection. The tool's purpose (AI-text detection) is unambiguous.
A lone tool named 'analyze' follows a clear verb-style convention and is readable. With one tool there is no convention to violate.
The server wraps a single-purpose detection API, so one tool is defensible, but it feels thin for anything beyond a one-shot call. There is no batch, async, or configuration surface.
The core detection operation is fully covered, returning verdicts, class fractions, and per-segment windows. Minor gaps exist for batch/multi-document analysis or history retrieval, but agents can work around them.
Maintenance
Related MCP Connectors
Access Pollinations models and API capabilities through agent tools.
AI Visibility and Content Intelligence tools for Claude and MCP-compatible agents.
Verified, pay-per-use API tools for AI agents through one authenticated connection.
Web scraping, Google SERP, Markdown and ChatGPT/Gemini answers as typed tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides tools to interact with OpenAI API including chat completions, embeddings, content moderation, and file management through natural language.MIT
- AlicenseNot gradedqualityDmaintenanceExposes RAG and document intelligence pipelines as 8 composable tools for MCP-compatible clients, enabling querying, indexing, classifying, extracting, and assessing documents.1MIT
- FlicenseNot gradedqualityDmaintenanceExposes GitHub engineering-analytics tools to LLM clients, enabling queries about code review bottlenecks, stale PRs, and commit hygiene.-
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to query the VirusTotal v3 API for detection reports on files, URLs, IPs, and domains, pivot across 100+ relationship types with cursor pagination, and search the corpus for threat actors and malware families. Supports both stdio and HTTP streaming transports.MIT