Skip to main content

mcpvitals

Vital signs for your MCP servers. One command gives you a health score, plus the checks nobody else runs.

tests PyPI License: MIT by ContextJet.ai

60-second start

No install. Point it at any MCP server (a stdio command or an http url):

uvx mcpvitals check "npx -y @your/mcp-server"
mcp health: 40 (F)

  x MV020 [run_sql] tool 'run_sql' appears to contain a hard-coded secret
      -> never ship keys in tool metadata; use env vars
  x MV022 [run_sql] description contains model-directed instructions (poisoning surface)
      -> tool descriptions should describe, not instruct the model
  ! MV030 [run_sql] tool 'run_sql' costs ~410 tokens to expose
      -> trim the description/schema; it inflates every request
  ! MV040 tools 'get_user' and 'fetch_user' are 0.91 similar; agents may pick the wrong one
      -> differentiate names/descriptions or merge them
  i MV050 protocol 2025-03-26 predates the 2026-07-28 stateless spec

What it checks

Most linters stop at basic conformance. mcpvitals runs those, and goes further on token cost, tool confusion and spec migration:

Area What it catches
Conformance empty tool descriptions, duplicate tool names, malformed schemas
Reliability parameters with no required list, untyped params, error-path gaps
Security hygiene secrets in tool metadata, over-broad tools (run_sql, exec), model-directed instructions in descriptions (the tool-poisoning surface)
Token cost how many tokens each tool burns in the context window, and the total cost to connect the server
Tool confusion pairs of tools an agent will mix up, predicted from name/description overlap before it happens in production
Migration readiness what breaks under the 2026-07-28 stateless spec: old protocol, deprecated caps, core tasks (now an extension), unstable tools/list order, missing ttlMs/cacheScope/resultType, no server/discover support, draft-07 schema constructs

Every check is a pure function scored deterministically. Run mcpvitals check --json for machine output.

The first run of an npx/uvx server includes its download, which can take a minute or two (Puppeteer pulls a whole Chromium). The default --timeout is 180 s. mcpvitals tries the 2026-07-28 server/discover handshake first and falls back to initialize; for a server that stalls on the probe, --handshake initialize skips it.

State of MCP servers (Nov 2026)

What breaks most often

19 popular servers that run without an account, each in a throwaway Docker container. Servers that need a key were left out of the ranking, since their tool list can differ once you sign in. Per-server scores, token costs and raw JSON are in docs/scan-2026-11, along with the scripts to rerun it.

Add the health badge to your README

mcpvitals emits a shareable badge so a good score is visible at a glance:

mcpvitals check "npx your-server" --badge badge.svg

Use it in CI

Gate your server on every push with the bundled GitHub Action:

- uses: ContextJet-ai/mcpvitals@v0
  with:
    target: "python -m your_server"
    strict: "true"      # fail the build on any error-level finding
    fail-under: "80"    # or fail when the score drops below a number
    sarif: mcpvitals.sarif
- uses: github/codeql-action/upload-sarif@v3
  with:
    sarif_file: mcpvitals.sarif   # findings show up in the Security tab and on PRs

Locally: mcpvitals check "npx your-server" --fail-under 80 --sarif out.sarif.

Track and monitor (not just a one-shot check)

Pin a server's tools and get alerted when they change. This catches rug-pulls, where a server you already approved silently mutates a tool's schema or description after the fact:

mcpvitals watch "npx your-server"           # first run pins tools to mcp.lock; later runs fail if anything changed
mcpvitals watch "npx your-server" --check    # in CI: same, and also fails if there is no lock yet
mcpvitals watch "npx your-server" --update   # you reviewed the change: accept it and re-pin

Probe a running server for live health (uptime and latency):

mcpvitals monitor "https://your-server/mcp" --count 5
# probe 1/5: up 210ms ... uptime 100.0%  avg 207ms

Why this exists

The MCP ecosystem grew faster than the tooling around it. There are thousands of servers and no standard way to tell whether one is any good, safe, or cheap to run. mcpvitals gives authors a one-command checkup before they publish, and gives everyone else a way to vet a server before they trust it.

Built by ContextJet.ai. MIT licensed. Contributions welcome, see CONTRIBUTING.md.

Metadata

Release files for mcpvitals 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcpvitals 0.3.3
File Size Uploaded Provenance Actions
mcpvitals-0.3.3.tar.gz 322.4 kB With provenance Details for mcpvitals-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcpvitals 0.3.3
File Interpreter ABI Platform Actions
mcpvitals-0.3.3-py3-none-any.whl Python 3 none any Details for mcpvitals-0.3.3-py3-none-any.whl

Total release size: 342.3 kB

Release files / mcpvitals-0.3.3.tar.gz

Download URL mcpvitals-0.3.3.tar.gz
Size 322.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0ac2e6231e1e970b212f7fd4887a50d0766ca819b626876d2d3fda9f11e9ce75
BLAKE2b-256 checksum
How to use checksums
49e801428f996a538bef656214355dd38a6489bf9cd99aa737c0675a482ceb48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / mcpvitals-0.3.3-py3-none-any.whl

Download URL mcpvitals-0.3.3-py3-none-any.whl
Size 19.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
921877dc832105eea439aedacf8fe3151d5a4e60546a22c0d087692d08d17166
BLAKE2b-256 checksum
How to use checksums
737fab644dfab1774127c7c2b56c4987f759b4584f6a9a5095bfe35202672984
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for mcpvitals 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mcpvitals-0.3.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page