npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pqs-mcp-server

v1.0.7

Published

PQS (Prompt Quality Score) MCP server. Score, optimize, and compare LLM prompts before they hit any model. x402-native, built on PEEM, RAGAS, MT-Bench, G-Eval, and ROUGE.

Downloads

629

Readme

smithery badge GitHub Marketplace pqs-mcp-server MCP server

PQS MCP Server

The world's first named AI prompt quality score — as an MCP server.

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

Install

Claude Desktop

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

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

Smithery

smithery mcp add onchaintel/pqs

Tools

score_prompt (Free — no API key needed)

Score any prompt before it hits any model. Returns grade A-F, score out of 40, and percentile.

Example output:

{
  "pqs_version": "1.0",
  "prompt": "analyze this wallet",
  "vertical": "crypto",
  "score": 8,
  "out_of": 40,
  "grade": "D",
  "upgrade": "Get full dimension breakdown at /api/score for $0.025 USDC via x402",
  "powered_by": "PQS — pqs.onchainintel.net"
}

optimize_prompt ($0.025 USDC via x402)

Score AND optimize any prompt. Returns full 8-dimension breakdown + optimized version.

Requires: PQS API key (get one free at pqs.onchainintel.net)

compare_models ($1.25 USDC via x402)

Compare Claude vs GPT-4o on the same prompt. Judged by a third model. Returns winner, scores, and recommendation.

Requires: PQS API key (get one free at pqs.onchainintel.net)

Verticals

Specify the domain context for more accurate scoring:

  • software — Software engineering, code, debugging
  • content — Content creation, copywriting, social media
  • business — Business analysis, finance, strategy
  • education — Education, research, academic writing
  • science — Scientific research, data analysis
  • crypto — Crypto trading, DeFi, onchain analysis
  • general — General purpose (default)

Quality Gate Pattern

Use PQS as a pre-inference quality gate:

const score = await fetch("https://pqs.onchainintel.net/api/score/free", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ prompt: userPrompt, vertical: "software" })
});
const { score: pqsScore } = await score.json();
if (pqsScore < 28) throw new Error("Prompt quality too low — improve and retry");

Grade D or below (< 28/40) means the prompt will waste inference spend.

Built by

John / OnChainIntel — @OnChainAIIntel
pqs.onchainintel.net