# io.github.OnChainAIIntel/pqs-mcp-server

> PQS scores any prompt before the model runs. 8 dimensions. 5 frameworks. Pre-flight, not post-hoc.

- name: io.github.OnChainAIIntel/pqs-mcp-server
- version: 1.4.0
- connection class: R0 (autonomous)
- trust: 90/100
- quality: 74/100 (needs work)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.OnChainAIIntel%2Fpqs-mcp-server
- tools: https://api.protogrid.dev/v1/servers/io.github.OnChainAIIntel%2Fpqs-mcp-server/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "pqs-mcp-server": {
      "type": "http",
      "url": "https://promptqualityscore.com/api/mcp"
    }
  }
}
```


## Trust

- hygiene: 100
- liveness: 100
- freshness: 65
- provenance: 90
- drivers: +repository +namespace-matches-repo +website +reachable +uptime-100% ~updated-146d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 74/100 (needs work)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2024-11-05; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 64 (weight 30)

- pass `tools.descriptions`: every tool has a description
- warn `tools.description_length`: 2 tools have descriptions over 1,024 characters, which crowds the context
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: optimize_prompt (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); score_prompt (readOnlyHint, destructiveHint, idempotentHint, openWorldHint)
- pass `tools.token_cost`: about 811 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: 67 (weight 15)

- pass `deps.known_vulns`: no known advisory in 104 resolved packages
- fail `deps.mcp_sdk_version`: @modelcontextprotocol/sdk 1.30.1 has 1 known advisory (GHSA-6qxp-vccf-f47h); update @modelcontextprotocol/sdk to 1.31.0 or later
- pass `deps.resolvable`: pqs-mcp-server@1.4.0 resolved: 104 packages

- tools: 2, about 811 tokens to load them all
- tool set hash: ef4319b065b945ac9c6eba6dcdd4a081
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.OnChainAIIntel/pqs-mcp-server.svg)](https://protogrid.dev/servers/io.github.OnChainAIIntel/pqs-mcp-server)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Dependencies

- npm pqs-mcp-server@1.4.0: resolved, 103 dependencies, MCP SDK @modelcontextprotocol/sdk 1.30.1
  - GHSA-6qxp-vccf-f47h (high) in `` @modelcontextprotocol/sdk@1.30.1 ``, direct, fixed in `` 1.31.0 ``, advisory summary: "MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server" https://osv.dev/vulnerability/GHSA-6qxp-vccf-f47h

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0.

## Remotes

- https://promptqualityscore.com/api/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

- npm pqs-mcp-server@1.4.0 secrets: PQS_API_KEY

## Tools (2)

- `optimize_prompt`: 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.

USE WHEN:
- The user got a low score from score_prompt and asks how to improve.
- The user explicitly asks to "improve" / "rewrite" / "fix" / "optimize" a
  prompt they pasted.
- The user is dissatisfied with output quality from a previous prompt and
  asks how to get better results.
- score_prompt returned a suggestion to invoke this tool.

DO NOT USE WHEN:
- The user just asked for a score (use score_prompt only — don't double up).
- The user wants you to write a new prompt from scratch (write it directly).

REQUIRES: A PQS API key from a Pro subscription ($19.99/month, 1,000 calls/mo,
includes batch + A/B comparison). If the user has not provided one, the tool
returns a clear subscription URL — pass that response to the user verbatim.
Do not invent or guess API keys. There is no free trial of this tool; the
user must subscribe before the first call.

COST: Counted against your Pro subscription's monthly call quota.

LATENCY: ~6-8 seconds.
- `score_prompt`: 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 dimension.

USE WHEN:
- The user is workshopping a prompt and asks "is this good?" / "will this
  work?" / "should I add more detail?"
- The user is about to send a long or expensive prompt to GPT-4, Claude Opus,
  or any frontier model, especially in a batch or automation context where
  rework is costly.
- The user mentions iterating on a prompt that produced poor output and wants
  to diagnose what's missing.
- The user pastes a prompt and asks for feedback on it.

DO NOT USE WHEN:
- The user is asking you to write a prompt for them (write it yourself first,
  then optionally call score_prompt to verify).
- The prompt is conversational chat (this scores task-shaped prompts).

COST: Free, no API key required. Rate-limited per IP: 5/min, 10/day, 100/month.
If the user exceeds the limit, the response will include a structured upgrade
path with subscribe and account URLs.

LATENCY: ~2 seconds.
