Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

claude-flow

MCP server by ruvnet Community

Coordinates swarms of AI agents for Claude Code and Codex, with agents, hooks, memory and an MCP server added to a project. It is aimed at developers who want agents to review, test and change code in a repo.

  • Score 94
  • 83k stars
  • 14k a week
  • MIT
  • Updated

Install claude-flow

Built from the published package, never by AI.

claude mcp add claude-flow -- npx -y claude-flow

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install claude-flow in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the claude-flow block.

About

claude-flow is published on npm as ruflo, and the source describes it as an agent meta-harness for Claude Code and Codex. Running `npx ruflo@latest init` in a project adds its agents, hooks, memory and MCP server, and Claude Code picks them up on its next start. Other MCP clients can connect by running `npx -y ruflo@latest mcp start`.

The project offers swarm coordination with hierarchical, mesh and adaptive topologies, a Mission Control console that can run inside Claude Code, and vector memory built on AgentDB. A MetaHarness feature grades agent setup readiness and scans tool configs for security issues. It suits developers who want several agents to work on a project, with results checked in the project diff and test output.

Written from the project's README and checked against it.

Tools it gives your assistant

  • ruflo initAdds agents, hooks, memory and an MCP server to the project folder.
  • ruflo mcp startRuns the MCP server for Claude Code, Codex or other MCP clients.
  • Swarm coordinationHierarchical, mesh and adaptive topologies with consensus between agents.
  • Mission ControlTracks workflows, agents, token use and cost, and lets you inspect and replay runs.
  • Vector memoryHNSW-indexed AgentDB for searching agent memory.
  • MetaHarnessGrades agent setup readiness from 1 to 100 and scans tool configs for security issues.
  • Phone connectorPairs a RuFlo or Orca phone app with this computer over LAN or Tailscale.

What you need

  • Node.js with npx to run npx ruflo@latest
  • Claude Code 2.1.287 or later for plugin installs
  • Git-Bash, WSL or MSYS for the curl install script on Windows
SettingNeededWhat it is
ANTHROPIC_API_KEYEnvironment variable, secretOptionalAnthropic API key for Claude AI models
CLAUDE_FLOW_MODEEnvironment variableOptionalOperation mode: development, production, or test
CLAUDE_FLOW_MEMORY_PATHEnvironment variableOptionalPath for persistent memory storage
CLAUDE_FLOW_MAX_AGENTSEnvironment variableOptionalMaximum number of concurrent agents
CLAUDE_FLOW_PORTEnvironment variableOptionalMCP server port
GITHUB_TOKENEnvironment variable, secretOptionalGitHub personal access token for repository operations
FLOW_NEXUS_API_KEYEnvironment variable, secretOptionalFlow Nexus cloud platform API key

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Use a ruflo swarm to review this repo and find the riskiest module.
  • Create a mission to add a dark mode toggle and show its status.
  • Grade the readiness of my AI agent setup with MetaHarness.

Good to know

  • Claude control defaults to read and ask, and actions above the selected level are refused.
  • Network, spending and destructive actions need confirmation even in auto mode.
  • Mods run with your account's permissions, so review their code before installing.
  • The phone connector is opt-in and read-only by default.

Security check

C
  • Downloads a script from the internet and runs itIn README.md: curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/ruflo@main/scripts/install.sh | bash

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to claude-flow

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

claude-flow: common questions

Does claude-flow work with Codex?

The source says Codex and other MCP clients work too. They can be pointed at `npx -y ruflo@latest mcp start`.

Does the plugin install add files to my project?

The source says the Claude Code plugin route adds no files to your workspace. The CLI install adds files such as .claude/, .claude-flow/ and CLAUDE.md.

Is the phone connector enabled by default?

No. The phone connector is an opt-in add-on installed only when you run setup, and a phone is read-only unless you start the daemon with --full.

How do I install claude-flow?

In Claude Code run claude mcp add claude-flow -- npx -y claude-flow. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is claude-flow the official server?

claude-flow is a community project by ruvnet, not verified by a company domain.

Is claude-flow free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is claude-flow safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to claude-flow?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does claude-flow work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

claude-flow Install

Add to stack

Loading.