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

correctover-mcp-server

v1.0.5

Published

The first MCP server that verifies AI outputs in real-time — 6-dimension contract validation (structure, schema, latency, cost, identity, integrity) with automatic self-healing failover across 9+ LLM providers. BYOK, zero-dependency, one-line JSON config

Readme

Correctover MCP Server

The first MCP server that verifies AI outputs in real-time.

Correctover sits between your AI tool (Cursor, Claude Desktop, Windsurf) and LLM providers, validating every response across 6 dimensions with automatic self-healing failover.

License npm Node Glama

What It Does

When an LLM returns a response, Correctover validates it in real-time:

| Dimension | What It Checks | |-----------|---------------| | Structure | JSON/YAML well-formedness, required fields present | | Schema | Type correctness, enum compliance, nested object validation | | Latency | Response time within SLA thresholds | | Cost | Token usage and cost within budget limits | | Identity | Output matches expected model/provider identity | | Integrity | No content tampering, hash verification |

If any dimension fails, the engine auto-retries or fails over to another provider — then validates again. Every response that reaches your application has passed all 6 checks.

Quick Start

Install via npm

npm install -g correctover-mcp-server

Configure your AI tool

Add to your mcp.json (Cursor, Claude Desktop, Windsurf):

{
  "mcpServers": {
    "correctover": {
      "command": "correctover-mcp-server",
      "env": {
        "OPENAI_API_KEY": "sk-...",
        "ANTHROPIC_API_KEY": "sk-ant-...",
        "DEEPSEEK_API_KEY": "sk-..."
      }
    }
  }
}

That's it. BYOK (Bring Your Own Key) — your keys stay on your machine. No proxy, no data collection.

Supported Providers

| Provider | Models | Env Variable | |----------|--------|-------------| | OpenAI | GPT-4o, GPT-4o-mini, o1 | OPENAI_API_KEY | | Anthropic | Claude 3.5 Sonnet, Haiku, Opus | ANTHROPIC_API_KEY | | DeepSeek | DeepSeek-V3, DeepSeek-R1 | DEEPSEEK_API_KEY | | Moonshot/Kimi | Moonshot-v1 | MOONSHOT_API_KEY | | Alibaba Qwen | Qwen-Max, Qwen-Plus | DASHSCOPE_API_KEY | | Zhipu/GLM | GLM-4 | ZHIPU_API_KEY | | SiliconFlow | Multiple open models | SILICONFLOW_API_KEY | | Groq | Llama, Mixtral | GROQ_API_KEY | | Together | Llama, Mistral | TOGETHER_API_KEY |

Set at least one API key. Correctover auto-detects configured providers.

Tools

chat — Verified Chat

Send a message to any LLM with automatic 6-dimension validation. Routes through the best provider, validates output, self-heals on failure.

{
  "messages": [{"role": "user", "content": "Generate a JSON config"}],
  "model": "auto"
}

Response includes:

  • The LLM output text
  • A validation report showing which dimensions passed/failed
  • Failover count (if any)

health — Health Check

Check which providers are configured and ready before starting work.

providers — Provider Details

See detailed configuration for all supported providers (base URLs, models, status).

stats — Session Statistics

Review session metrics: total calls, validation pass rate, failover count, active providers, server version.

validation_history — Validation Records

Query recent validation results with pagination (ring buffer, 500 records). Each record includes provider, model, latency, pass/fail status, score, and failure reasons.

Prompts

| Prompt | Description | |--------|-------------| | verify-output | Verify AI-generated content for correctness across 6 dimensions | | compare-providers | Compare responses from multiple providers on the same prompt | | reliability-audit | Run a comprehensive reliability audit on your provider setup |

How It Works

Your AI Tool (Cursor/Claude Desktop)
        │
        ▼
┌─────────────────────────┐
│   Correctover MCP       │
│   ┌───────────────────┐ │
│   │ 6-Dim Validator   │ │
│   │ ┌─ Structure      │ │
│   │ ├─ Schema         │ │
│   │ ├─ Latency        │ │
│   │ ├─ Cost           │ │
│   │ ├─ Identity       │ │
│   │ └─ Integrity      │ │
│   └───────────────────┘ │
│          │              │
│   ┌──────▼──────┐       │
│   │ Failover    │       │
│   │ Engine      │       │
│   └──────┬──────┘       │
└──────────┼──────────────┘
           │
    ┌──────┼──────┬────────┐
    ▼      ▼      ▼        ▼
 OpenAI  Anthropic  DeepSeek  Qwen ...
  1. Route → Select best provider by priority and health
  2. Call → Send request to LLM provider
  3. Validate → Run 6-dimension checks on response
  4. Pass? → If yes, return to your AI tool
  5. Fail? → Auto-retry or failover to next provider → Go to step 2

Failover ≠ Correctover

Simple failover just switches providers when one goes down. Correctover switches and verifies the output is correct before delivering it. Every response passes through 6-dimension validation — if it fails, the engine auto-retries or fails over, then re-validates.

Configuration

Custom Base URLs

For API proxies or compatible endpoints:

{
  "env": {
    "OPENAI_API_KEY": "your-key",
    "OPENAI_BASE_URL": "https://your-proxy.example.com/v1"
  }
}

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | OPENAI_API_KEY | No* | OpenAI API key | | ANTHROPIC_API_KEY | No* | Anthropic API key | | DEEPSEEK_API_KEY | No* | DeepSeek API key | | MOONSHOT_API_KEY | No* | Moonshot/Kimi API key | | DASHSCOPE_API_KEY | No* | Alibaba DashScope (Qwen) | | ZHIPU_API_KEY | No* | Zhipu/GLM API key | | SILICONFLOW_API_KEY | No* | SiliconFlow API key | | GROQ_API_KEY | No* | Groq API key | | TOGETHER_API_KEY | No* | Together AI API key |

*At least one API key is required.

System Requirements

  • Node.js ≥ 18.0.0
  • Platform: Linux (amd64/arm64), macOS (amd64/arm64), Windows (amd64)
  • The npm installer automatically downloads the correct binary for your platform

Links

License

Apache 2.0 © Correctover