@claude-flow/mcp weekly downloads statistics
By claude-flow (9 listings) · npm · MCP servers
Standalone MCP (Model Context Protocol) server - stdio/http/websocket transports, connection pooling, tool registry
@claude-flow/mcp has 5,832 recorded weekly downloads on npm, a decrease of 23.1% over the past 30 days, ranking #1473 of 3,247 tracked listings.
About @claude-flow/mcp
@claude-flow/mcp
<!-- adr-356:quickstart:start -->@claude-flow/mcp — A standalone Model Context Protocol server: stdio, HTTP and WebSocket transports, a schema-checked tool registry, resources, prompts and tasks.
Supported environments: Node.js 20+ · ESM · Linux, macOS, Windows (pure JavaScript)
Quickstart
npm install @claude-flow/mcp
import { createToolRegistry, defineTool } from '@claude-flow/mcp';
const logger = { debug() {}, info() {}, warn: console.warn, error: console.error };
const registry = createToolRegistry(logger);
registry.register(defineTool('echo', 'Echo the input text', {
type: 'object', properties: { text: { type: 'string' } }, required: ['text'],
}, async ({ text }) => ({ echoed: text })));
console.log(registry.getToolNames());
const result = await registry.execute('echo', { text: 'hi' });
console.log(result.isError ?? false, result.content[0].text);
Expected output:
[ 'echo' ]
false {
"echoed": "hi"
}
Used by @claude-flow/cli, which serves the Ruflo tools over this server.
MCP 2025-11-25 Compliant - Standalone Model Context Protocol server implementation with full Resources, Prompts, and Tasks support
Features
- MCP 2025-11-25 Compliant - Full specification support
- High-Performance Server - <400ms startup time
- Multiple Transports - stdio, HTTP, WebSocket, in-process
- Resources - list, read, subscribe with caching
- Prompts - templates with arguments and embedded resources
- Tasks - Async operations with progress and cancellation
- Pagination - Cursor-based pagination for large datasets
- Connection Pooling - Max 10 connections, configurable
- Fast Tool Registry - O(1) lookup, <10ms registration
- Session Management - Timeout handling, authentication
- Security - CORS, Helmet, auth tokens
- Zero Dependencies - No @claude-flow/* dependencies
Installation
npm install @claude-flow/mcp
Quick Start
import { quickStart, defineTool } from '@claude-flow/mcp';
// Create and start server
const server = await quickStart({
transport: 'stdio',
name: 'My MCP Server',
});
// Register custom tools
server.registerTool(defineTool(
'greet',
'Greet a user',
{
type: 'object',
properties: {
name: { type: 'string', description: 'User name' }
},
required: ['name']
},
async ({ name }) => ({ message: `Hello, ${name}!` })
));
// Start listening
await server.start();
Transports
Stdio (Default)
import { createMCPServer } from '@claude-flow/mcp';
const server = createMCPServer({
transport: 'stdio',
name: 'Stdio Server',
}, logger);
await server.start();
HTTP
const server = createMCPServer({
transport: 'http',
host: 'localhost',
port: 3000,
corsEnabled: true,
corsOrigins: ['http://localhost:8080'],
auth: {
enabled: true,
method: 'token',
tokens: ['secret-token'],
},
}, logger);
await server.start();
// Server at http://localhost:3000
// WebSocket at ws://localhost:3000/ws
WebSocket
const server = createMCPServer({
transport: 'websocket',
host: 'localhost',
port: 3001,
maxConnections: 100,
heartbeatInterval: 30000,
}, logger);
await server.start();
// WebSocket at ws://localhost:3001/ws
Tool Registry
import { createToolRegistry, defineTool } from '@claude-flow/mcp';
const registry = createToolRegistry(logger);
// Register tool
registry.register({
name: 'calculate',
description: 'Perform calculations',
inputSchema: {
type: 'object',
properties: {
expression: { type: 'string' }
}
},
handler: async ({ expression }) => {
return { result: eval(expression) };
},
category: 'math',
tags: ['calculator'],
});
// Execute tool
const result = await registry.execute('calculate', { expression: '2 + 2' });
// Search tools
const mathTools = registry.getByCategory('math');
const stats = registry.getStats();
Session Management
import { createSessionManager } from '@claude-flow/mcp';
const sessions = createSessionManager(logger, {
maxSessions: 100,
sessionTimeout: 30 * 60 * 1000, // 30 minutes
});
// Create session
const session = sessions.createSession('http');
// Initialize with client info
sessions.initializeSession(session.id, {
protocolVersion: '2024-11-05', // MCP spec: YYYY-MM-DD string
capabilities: { tools: { listChanged: true } },
clientInfo: { name: 'Claude', version: '1.0' },
});
// Get metrics
const metrics = sessions.getSessionMetrics();
// { total: 1, active: 1, authenticated: 0, expired: 0 }
Connection Pool
import { createConnectionPool } from '@claude-flow/mcp';
const pool = createConnectionPool({
maxConnections: 10,
minConnections: 2,
idleTimeout: 30000,
acquireTimeout: 5000,
}, logger, 'http');
// Acquire connection
const conn = await pool.acquire();
// Use connection...…
Description from the npm listing.
- ruflo
- claude-flow
- mcp
- model-context-protocol
- mcp-server
- claude
- ai-agents
- json-rpc
- stdio
- websocket
- tool-registry
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 (170)Similar npm MCP servers plugins
All 20 @claude-flow/mcp 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/@claude-flow/mcp. First seen Oct 16, 2026; last successful collection Dec 1, 2026. See the methodology.