onchainaiintel avatar

Pqs Mcp Server

onchainaiintel/pqs-mcp-server

Scores prompts across eight dimensions (clarity, specificity, context, constraints, output format, role definition, examples, chain-of-thought structure) before they hit your model. Built on PEEM, RAGAS, MT-Bench, G-Eval, and ROUGE. The free tier gives you 0-80 scores with A-F grades and weakest-dimension feedback, rate-limited per IP. Pro subscribers get optimize_prompt, which rewrites your prompt and runs both versions through a frontier model so you can see before-and-after outputs side by side. Useful as a pre-inference quality gate: block anything below 56/80 to avoid wasting tokens on underspecified requests. Works over stdio or streamable HTTP, with an optional self-hosted backend override.

GitHub stars
2
tools
2
auth
Secret needed
transport
STDIO, HTTP
env var
1
last updated
May 27, 2026

Install

From registry metadata
$ npx add-mcp https://promptqualityscore.com/api/mcp --name pqs

Run in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http pqs https://promptqualityscore.com/api/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 2 tools

Verified live against the running server on Nov 6, 2026.

score_promptScore a prompt's quality across 8 dimensions BEFORE sending it to an expensive model. Returns a 0-80 score, an A-F grade, the per-dimension breakdown (clarity, specificity, context, constraints, output_format, role_definition, examples, cot_structure), and the weakest dimensio...1 params

Score a prompt's quality across 8 dimensions BEFORE sending it to an expensive model. Returns a 0-80 score, an A-F grade, the per-dimension breakdown (clarity, specificity, context, constraints, output_format, role_definition, examples, cot_structure), and the weakest dimensio...

Parameters* required
prompt*string
The prompt text to score. Single prompt, not a conversation. Max 8000 characters.
optimize_promptRewrite a prompt to score higher on the PQS rubric, AND show before/after output comparisons so the user can see the impact. Returns the optimized prompt, the original PQS score, the optimized PQS score, and side-by-side sample outputs from a frontier model using both versions...2 params

Rewrite a prompt to score higher on the PQS rubric, AND show before/after output comparisons so the user can see the impact. Returns the optimized prompt, the original PQS score, the optimized PQS score, and side-by-side sample outputs from a frontier model using both versions...

Parameters* required
api_keystring
PQS API key from a Pro subscription. Required. Format: pqs_live_… (32+ characters). Subscribe at https://promptqualityscore.com/pricing?utm_source=mcp&utm_medium=schema_description_v140&utm_campaig...
prompt*string
The prompt to optimize. Max 8000 characters.

Sponsors

Configuration

PQS_API_KEYsecret

Your PQS Pro API key (pqs_live_xxx) for optimize_prompt. score_prompt is free and requires no key. Subscribe at promptqualityscore.com/pricing.

Readme

smithery badge GitHub Marketplace pqs-mcp-server MCP server

PQS MCP Server

Score prompt quality before it reaches any AI model. An MCP server for PQS.

Score and optimize LLM prompts before they hit any model. Built on PEEM, RAGAS, MT-Bench, G-Eval, and ROUGE.

Install

Claude Desktop (stdio)

Add to your config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "pqs": {
      "command": "npx",
      "args": ["-y", "pqs-mcp-server"]
    }
  }
}

Remote (HTTP)

Use this when your MCP client supports streamable-HTTP transport (no local npm install required):

{
  "mcpServers": {
    "pqs": {
      "url": "https://promptqualityscore.com/api/mcp"
    }
  }
}

Smithery

smithery mcp add onchaintel/pqs

Tools


View the full README on GitHub

Details

Repository
github.com/onchainaiintel/pqs-mcp-server
Website
promptqualityscore.com
Category
AI & LLM Tools
Package
pqs-mcp-server
Transport
STDIO, HTTP
Auth
Required
Registry
MCP registry, active
Tools verified
Nov 6, 2026

Related AI & LLM Tools MCP servers

View all
1openpoem avatarSpec Score Mcpopenpoem/spec-score-mcpScore your specs before feeding them to an LLM. MCP server with radar chart visualization.2stars
2photoxpedia avatarBolor Brain Mcpphotoxpedia/bolor-brain-mcpCognitive architecture MCP server with memory, learning, and contextual understanding2stars
3rbfinch avatarHindsight MCPrbfinch/hindsight-mcpMCP server for AI-assisted coding with development history: git, tests, Copilot.2stars
4resemble-ai avatarResemble AIresemble-ai/resemble-mcpResemble AI: deepfake, AI-text, and site agent detection, Detect Agents, intelligence, watermarks.2stars
5sapientsai avatarPower Automate Mcp Serversapientsai/power-automate-mcp-serverInspect, operate, and author Microsoft Power Automate cloud flows from an agent context.2stars
6sou0327 avatarKnowmintsou0327/knowmintAI agent knowledge marketplace. Discover, purchase, and retrieve human expertise via x402 on Solana.2stars