stitchkit weekly downloads statistics
By max-listov · npm · MCP servers
Contract-first backend framework — one defineContract() into an HTTP API, MCP tools, AI-agent tools and a typed client. Bun and Node.
stitchkit has 5,450 recorded weekly downloads on npm, ranking #1322 of 2,855 tracked listings.
About stitchkit
Why
- One contract, five surfaces. Define your API once — get HTTP routes, MCP tools (for Claude/Cursor), AI SDK tools (for agents), a CLI (for scripts & Skills), and a typed client.
- Zero HTTP framework deps. Built on
Bun.serve()(Bun) orsrvx(Node). No Hono, no Elysia, no Express. - Fullstack type safety. Server handlers, client calls, MCP tools — all typed from the same contract.
- Inspectable. A focused core with explicit adapters. No generated application code or framework build step in your app.
- Thin over what you already use. WebSocket = Socket.IO (
createSocketIOClient/createSocketIOServer). React data layer =react-query-kit(createCursorQuery). stitchkit owns the contract and the transport — not its own competing WebSocket or hook engine.
The problem it solves
A modern backend exposes the same operations several ways — an HTTP API for the app, MCP tools for assistants like Claude and Cursor, tool definitions for AI agents, and a CLI for scripts and Skills. Written by hand, that is one surface described many times: many places to drift, many places to keep in sync. stitchkit collapses them into a single contract — change it once, every surface and the typed client move together.
<p align="center"> <img src="https://raw.githubusercontent.com/max-listov/stitchkit/master/assets/infographic-compare.jpg" alt="Without stitchkit: the same API hand-written three times. With stitchkit: one contract drives them all." width="100%" /> </p>Status
Pre-1.0. The core is stable and covered by tests, but the public API may still
change between minor versions until 1.0. Bun is first-class; Node ≥ 22 is
supported via stitchkit/node.
Install
Start a production-shaped Next.js, Stitchkit and PostgreSQL application:
bun create stitchkit my-app
cd my-app
# Point DATABASE_URL in .env at your PostgreSQL database.
bun run dev
To add Stitchkit to an existing project instead:
bun add stitchkit # Bun
npm install stitchkit # Node
pnpm add stitchkit # pnpm
Import policy
Browser code imports browser-safe entrypoints:
import { defineContract, createClient, createHttpClient } from 'stitchkit'
import { createSocketIOClient } from 'stitchkit'
import { createCursorQuery, createCacheBridge } from 'stitchkit/react'
import { AgentRunSchema, AgentRuntimeEventSchema } from 'stitchkit/agent-runtime/browser'
import { parseSSE } from 'stitchkit'
import { createAuthorizationCodeClient } from 'stitchkit/oauth'
Server code imports server entrypoints:
import { createServer, createHandler, implement } from 'stitchkit/server'
import { createSocketIOServer, createAuthHook } from 'stitchkit/server'
import { createMcpHandler, mountAgent } from 'stitchkit/tools'
import { createAgentRuntime, defineAgentProtocol } from 'stitchkit/agent-runtime'
import { createBunSqliteAgentRuntimeStore } from 'stitchkit/agent-runtime/sqlite/bun'
import { createApplication, defineManagedResource } from 'stitchkit/application'
import { implementRemote } from 'stitchkit/remote'
import { createGoogleOidcClient } from 'stitchkit/google'
```…
Description from the npm listing.
- bun
- node
- framework
- contract-first
- mcp
- model-context-protocol
- ai-agent
- ai-tools
- typescript
- rpc
- api
- zod
- typed-client
- socket.io
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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 (1)Similar npm MCP servers plugins
All 20 stitchkit alternativesData 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/stitchkit. First seen Nov 4, 2026; last successful collection Nov 4, 2026. See the methodology.