Sponsored by Deepsite.site

Prompt Quality Score

Created By
OnChainAIIntel2 months ago
PQS is the fastest way to get better output from any AI model. Score any prompt before it hits the model. Get a grade (A-F), score out of 80, percentile, and 8-dimension breakdown across clarity, specificity, context, constraints, output format, role definition, examples, and chain-of-thought structure. Built on PEEM, RAGAS, MT-Bench, G-Eval, and ROUGE frameworks. Pre-flight, not post-hoc. The AI input quality problem is real. PQS solves it. MCP Tools: - score_prompt: Free. Returns grade (A-F), score out of 80, percentile, and full 8-dimension breakdown. No API key needed. - optimize_prompt: $0.025 USDC via x402. Returns a rewritten, higher-scoring version of your prompt with before/after dimension deltas. Requires API key from promptqualityscore.com. HTTP API (x402-native on Base): - /api/score/free: Free. Grade, percentile, and 8-dimension breakdown. No payment required. - /api/score: $0.025 USDC. Single score, pay-per-call. - /api/score/full: $0.125 USDC. Grade, percentile, dimension breakdown, and rewrite. - /api/score/batch: $0.25 USDC. Score multiple prompts in a single call. - /api/preflight: $0.05 USDC. Lightweight pre-flight quality check. Paste a prompt. Get an optimized version. Ship better work. Cheaper than one bad prompt. https://promptqualityscore.com
Content

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

score_prompt (Free, no API key required)

Returns grade (A-F), score out of 80, and full 8-dimension breakdown across clarity, specificity, context, constraints, output_format, role_definition, examples, and cot_structure.

Example output:

{
  "pqs_version": "2.0",
  "prompt": "analyze this wallet",
  "score": 9,
  "out_of": 80,
  "grade": "F",
  "dimensions": {
    "clarity": 2,
    "specificity": 1,
    "context": 1,
    "constraints": 1,
    "output_format": 1,
    "role_definition": 1,
    "examples": 1,
    "cot_structure": 1
  },
  "weakest_dimension": "specificity",
  "upgrade": "Get top_fixes and a rewritten prompt at /api/v1/optimize for $0.025 USDC via x402 — promptqualityscore.com",
  "powered_by": "PQS — promptqualityscore.com"
}

optimize_prompt

Returns a rewritten, higher-scoring version of your prompt with before/after dimension deltas. $0.025 USDC via x402. Requires API key from promptqualityscore.com.

Quality Gate Pattern

Use PQS as a pre-inference quality gate:

const score = await fetch("https://promptqualityscore.com/api/score/free", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ prompt: userPrompt })
});
const { score: pqsScore } = await score.json();
if (pqsScore < 56) throw new Error("Prompt quality too low. Improve and retry.");

Grade D or below (under 56/80) means the prompt will waste inference spend.

x402 paid endpoints

Per-call USDC payment on Base is also available via the canonical PQS HTTP API (no API key needed, caller settles on-chain). The MCP tools in this package use the SaaS API-key model. For x402 integration, see the canonical pricing and discovery artifacts at promptqualityscore.com.

Self-hosting

Override the PQS backend URL with the PQS_BASE environment variable:

PQS_BASE=https://your-pqs-host.example.com npx pqs-mcp-server

Defaults to https://promptqualityscore.com.

Built by

OnChainIntel, @OnChainAIIntel promptqualityscore.com

Server Config

{
  "mcpServers": {
    "pqs": {
      "url": "https://promptqualityscore.com/api/mcp"
    },
    "pqs-local": {
      "command": "npx",
      "args": [
        "-y",
        "pqs-mcp-server@latest"
      ]
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
CursorThe AI Code Editor
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
WindsurfThe new purpose-built IDE to harness magic
Tavily Mcp
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
DeepChatYour AI Partner on Desktop
Amap Maps高德地图官方 MCP Server
Serper MCP ServerA Serper MCP Server
ChatWiseThe second fastest AI chatbot™
Playwright McpPlaywright MCP server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.