Skip to content
PluginStats

@youzi9601/mcp-testkit-vitest weekly downloads statistics

By youzi9601 · npm · Testing

Vitest plugin for mcp-testkit

View on npm Stale · Oct 18, 2026

@youzi9601/mcp-testkit-vitest has 22 recorded weekly downloads on npm, a decrease of 15.4% over the past 30 days.

Weekly downloads
22
Official API · Oct 18, 2026
7-day growth
+144%
+13 weekly downloads
30-day growth
-15.4%
-4 weekly downloads
90-day growth
+100%
+11 weekly downloads
Rank
—
Among tracked npm listings

About @youzi9601/mcp-testkit-vitest

@youzi9601/mcp-testkit-vitest

Vitest integration plugin, auto-registers MCP-specific custom matchers.

Installation

npm install -D @youzi9601/mcp-testkit-vitest vitest@4

Setup

// vitest.config.ts
import { defineConfig } from 'vitest/config'
import mcpTestkit from '@youzi9601/mcp-testkit-vitest'

export default defineConfig({
  plugins: [mcpTestkit()],
  test: {
    environment: 'node',
  },
})

One line — the plugin auto-registers these matchers to Vitest's expect():

MatcherDescription
expect(value).toBeValidMcpResponse()Valid MCP JSON-RPC response
expect(value).toBeMcpSuccess()Success response with result
expect(value).toBeMcpError(code?)Error response, optionally with specific code
expect(value).toBeValidJsonRpcRequest()Well-formed JSON-RPC request

Example

import { createMcpServer } from '@youzi9601/mcp-testkit'

describe('MCP Server Tests', () => {
  let server: Awaited<ReturnType<typeof createMcpServer>>

  beforeEach(async () => {
    server = await createMcpServer({
      command: 'node',
      args: ['./dist/server.js'],
    })
  })

  afterEach(() => server.close())

  it('should return valid MCP response', async () => {
    const result = await server.callTool('echo', { msg: 'hello' })
    expect(result).toBeValidMcpResponse()
    expect(result).toBeMcpSuccess()
  })

  it('should handle error responses', async () => {
    const result = await server.callTool('invalidTool', {})
    expect(result).toBeMcpError(-32601) // MethodNotFound
  })
})

Relationship with @youzi9601/mcp-testkit

  • mcpTestkit() is the accompanying package for @youzi9601/mcp-testkit
  • Core logic, types, and error classes live in mcp-testkit
  • This package only handles Vitest integration

License

MIT

Description from the npm listing.

  • mcp
  • vitest
  • vitest-plugin
  • testing
  • model-context-protocol

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@youzi9601/mcp-testkit-vitest weekly downloads on npm, last 90 days: 22 weekly downloads as of Oct 18, 2026, +100% over 90 days.@youzi9601/mcp-testkit-vitestWeekly downloads on npm · Last 90 days22downloads / week+100% over 90 days050100150200Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 26, 2026 – Oct 18, 2026 · 85 observations · Updated Oc…pluginstats.com
@youzi9601/mcp-testkit-vitest weekly downloads on npm, last 90 days: 22 weekly downloads as of Oct 18, 2026, +100% over 90 days.

7/30/90-day growth

@youzi9601/mcp-testkit-vitest weekly downloads growth on npm: +144% over 7 days, -15.4% over 30 days, +100% over 90 days.@youzi9601/mcp-testkit-vitestWeekly downloads growth on npm22downloads / week now7-day growth+13 weekly downloads+144%30-day growth-4 weekly downloads-15.4%90-day growth+11 weekly downloads+100%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@youzi9601/mcp-testkit-vitest weekly downloads growth on npm: +144% over 7 days, -15.4% over 30 days, +100% over 90 days.

Ranking history

@youzi9601/mcp-testkit-vitest npm ranking history: currently #1958 (by weekly downloads).@youzi9601/mcp-testkit-vitestnpm ranking · by weekly downloads · Last 90 days#1958current rank#1860#1880#1900#1920#1940#1960Jul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21rankOct 18, 2026 – Oct 21, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
@youzi9601/mcp-testkit-vitest npm ranking history: currently #1958 (by weekly downloads).

Listing placement

All npm2,429 listings · 122 pages · 1,215 shown · page 102, #9 (overall #2,029)
All npm: every listing in weekly downloads order

Listing placement

Testing21 listings · 2 pages · page 1, #12 (overall #12)
Testing: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (122)
Recent weekly downloads observations for @youzi9601/mcp-testkit-vitest
Date (UTC)Weekly downloadsChange vs. previous
22+7
150
15+11
4-1
5-4
90
90
90
90
9-1
10+1
9+4
50
5—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@youzi9601/mcp-testkit-vitest. First seen Oct 16, 2026; last successful collection Oct 23, 2026. See the methodology.