claudebench
Claude Code Best Friend, a workbench for task management and swarm orchestration
claude mcp add --transport stdio fblgit-claudebench node apps/server/server.js \ --env ENV_FILE="Path to environment file or placeholder" \ --env DB_MIGRATIONS="Enabled to run migrations if needed"
How to use
ClaudeBench is a Redis-first, event-driven AI workbench designed to orchestrate Claude-based AI tasks with swarm-inspired decomposition. It exposes a real-time tasking system driven by a JSONRPC 2.0 protocol and emits live updates over WebSocket, enabling you to monitor task progress and metrics as tasks flow through Redis streams, a swarm intelligence layer, and a PostgreSQL persistence layer. You can onboard repositories, create and claim tasks, decompose complex objectives into subtasks, and track task histories with automatic commit-like context. The MCP integration makes ClaudeBench capable of integrating AI tools and agents as part of a broader tooling ecosystem, coordinating actions via standardized model-context interactions.
To use the server, install the repository dependencies, configure the environment, and launch the server. The included API documentation and examples illustrate how to call operations such as creating tasks, claiming them for workers, completing tasks with results, and managing swarm projects. Real-time monitoring is available through the built-in event relay and dashboards, letting you observe task creation, decomposition, and execution as they happen.
How to install
Prerequisites:
- Bun runtime installed (>= 1.2.0) or a compatible Node.js environment for serving, Redis 6.0+ and PostgreSQL 14+ available locally or in Docker
- Redis and PostgreSQL configured (local or dockerized)
- Git and standard CLI tools available
Installation steps:
-
Clone the repository: git clone https://github.com/fblgit/claudebench.git cd claudebench
-
Install dependencies (via Bun, as recommended by the project): bun install
-
Copy environment variable templates to actual config: cp .env.example .env cp apps/server/.env.example apps/server/.env cp apps/web/.env.example apps/web/.env
-
Update the .env files with your configuration (database credentials, Redis, etc.).
-
Start the database services and migrations (these scripts are provided by the project): bun db:start bun db:push bun db:studio # optional
-
Run the application (start both backend and frontend with bun dev): bun dev
Optional:
- Start documentation site if needed: cd docs && bun dev
- Start the event relay for monitoring: bun relay
Additional notes
Notes and tips:
- Ensure Redis and PostgreSQL are reachable from the environment where the server runs; consider using Docker for local testing.
- The project uses Bun for performance; ensure Bun is up-to-date to avoid compatibility issues with scripts like bun dev and bun relay.
- The MCP integration expects a model-context capable workflow; if you’re introducing external tools, verify that the context generation and tool invocation patterns align with your agents’ capabilities.
- If you encounter environment variable issues, double-check the copied .env files and ensure all required variables (e.g., database URLs, Redis connection details) are properly set.
- For debugging, use the event relay and real-time dashboard to trace task flow and swarm decomposition steps, which can help diagnose bottlenecks in task distribution or worker assignment.
Related MCP Servers
cclsp
Claude Code LSP: enhance your Claude Code experience with non-IDE dependent LSP integration.
airtable
Airtable integration for AI-powered applications via Anthropic's Model Context Protocol (MCP)
iron-manus
Iron Manus MCP
modular
A Model Context Protocol (MCP) proxy server that enables efficient management of large tool collections across multiple MCP servers by grouping them and loading tool schemas on-demand.
ZMCPTools
A custom TypeScript MCP Server intended to be used with Claude Code
mcp-tasks
A comprehensive and efficient MCP server for task management with multi-format support (Markdown, JSON, YAML)