io.github.ruvnet/ruv-swarm MCP Server
io.github.ruvnet/ruv-swarm
Ephemeral neural network swarm orchestration with WebAssembly acceleration and 84.8% SWE-Bench solve rate
What is the io.github.ruvnet/ruv-swarm MCP server?
The ruv-swarm MCP server is a distributed neural intelligence framework that spins up lightweight, purpose-built neural networks on-demand to solve specific tasks with CPU-native WebAssembly acceleration. It achieves 84.8% SWE-Bench solve rate, outperforming Claude 3.7 by 14.5 points, and integrates natively with Claude Code via the Model Context Protocol.
ruv-swarm enables ephemeral, composable artificial intelligence by instantiating specialized neural networks that exist only as long as needed to solve a problem. Built on pure Rust with WebAssembly runtime support, it delivers <100ms decision times, 2.8-4.4x faster performance than traditional frameworks, and 32.3% token efficiency gains—all without requiring GPU hardware. Use it to augment Claude with swarm-based problem solving, forecasting, and multi-agent orchestration.
How to install io.github.ruvnet/ruv-swarm
Copy-paste configuration for popular MCP clients.
RUV_SWARM_LOG_LEVELLog level for ruv-swarm operations
RUV_SWARM_DB_PATHDatabase path for persistence storage
RUV_SWARM_ENABLE_SIMDEnable WebAssembly SIMD optimizations
Tools & capabilities
Tools this server exposes to the agent.
Swarm Orchestration— Spin up and manage ephemeral neural network swarms with 5 configurable topologies (mesh, ring, hierarchical, star, custom)Neural Network Instantiation— Create purpose-built neural networks on-demand from 27+ state-of-the-art architectures including LSTM, N-BEATS, TCN, and TransformersCognitive Pattern Execution— Execute 7 cognitive patterns including convergent, divergent, lateral, and systems thinking reasoningReal-time Adaptive Learning— Networks evolve and optimize in real-time based on task feedbackWASM Runtime Execution— CPU-native execution via WebAssembly, compatible with browsers, edge devices, servers, and embedded systemsMCP Integration— Native Claude Code integration for seamless AI agent collaborationCLI Interface— Command-line tools for initialization, contribution workflows, and swarm management
Use cases
- Solve complex software engineering tasks with 84.8% accuracy using swarm-based reasoning
- Generate time-series forecasts using 27+ neural architectures with 2-4x faster inference than traditional frameworks
- Augment Claude with ephemeral neural networks for specialized problem-solving without persistent resource overhead
- Build multi-agent systems that spawn lightweight neural networks for specific cognitive tasks and dissolve after completion
- Deploy CPU-native neural intelligence to browsers, edge devices, and embedded systems via WebAssembly without GPU dependencies
io.github.ruvnet/ruv-swarm MCP server FAQ
ruv-swarm instantiates lightweight, purpose-built neural networks on-demand rather than calling external APIs. Networks are created for specific tasks, execute via CPU-native WebAssembly, and dissolve after completion. This approach achieves 84.8% SWE-Bench solve rate (14.5 points better than Claude 3.7) with 32.3% better token efficiency.
Yes. ruv-swarm is open-source under dual Apache 2.0 and MIT licenses. You can install it via npm, cargo, or npx with no licensing costs.
Install via `npx ruv-swarm@latest init --claude` (no installation required) or `npm install -g ruv-swarm` for global access. The MCP server integrates natively with Claude Code and supports the Model Context Protocol.
No. ruv-swarm is CPU-native and GPU-optional. It's built for GPU-poor environments and runs efficiently on standard CPU hardware via WebAssembly.
27+ state-of-the-art models including LSTM, N-BEATS, Transformers, TCN, and others. It also supports 5 swarm topologies (mesh, ring, hierarchical, star, custom) and 7 cognitive patterns for reasoning.
ruv-swarm delivers <100ms decisions, 2.8-4.4x faster execution than traditional frameworks, 32.3% fewer tokens, and 29% less memory usage. It achieves 3,800 tasks/second throughput.
README (reference)
Source of truth, from the repository.
ruv-FANN: The Neural Intelligence Framework 🧠
What if intelligence could be ephemeral, composable, and surgically precise?
Welcome to ruv-FANN, a comprehensive neural intelligence framework that reimagines how we build, deploy, and orchestrate artificial intelligence. This repository contains three groundbreaking projects that work together to deliver unprecedented performance in neural computing, forecasting, and multi-agent orchestration.
🌟 The Vision
We believe AI should be:
- Ephemeral: Spin up intelligence when needed, dissolve when done
- Accessible: CPU-native, GPU-optional - built for the GPU-poor
- Composable: Mix and match neural architectures like LEGO blocks
- Precise: Tiny, purpose-built brains for specific tasks
This isn't about calling a model API. This is about instantiating intelligence.
🎯 What's in This Repository?
1. ruv-FANN Core - The Foundation
A complete Rust rewrite of the legendary FANN (Fast Artificial Neural Network) library. Zero unsafe code, blazing performance, and full compatibility with decades of proven neural network algorithms.
2. Neuro-Divergent - Advanced Neural Forecasting
27+ state-of-the-art forecasting models (LSTM, N-BEATS, Transformers) with 100% Python NeuralForecast compatibility. 2-4x faster, 25-35% less memory.
3. ruv-swarm - Ephemeral Swarm Intelligence
The crown jewel. Achieves 84.8% SWE-Bench solve rate, outperforming Claude 3.7 by 14.5 points. Spin up lightweight neural networks that exist just long enough to solve problems.
🚀 Quick Install ruv-swarm
# NPX - No installation required!
npx ruv-swarm@latest init --claude
# NPM - Global installation
npm install -g ruv-swarm
# Cargo - For Rust developers
cargo install ruv-swarm-cli
That's it. You're now running distributed neural intelligence.
🧠 How It Works
The Magic of Ephemeral Intelligence
- Instantiation: Neural networks are created on-demand for specific tasks
- Specialization: Each network is purpose-built with just enough neurons
- Execution: Networks solve their task using CPU-native WASM
- Dissolution: Networks disappear after completion, no resource waste
Architecture Overview
┌─────────────────────────────────────────────┐
│ Claude Code / Your App │
├─────────────────────────────────────────────┤
│ ruv-swarm (MCP/CLI) │
├─────────────────────────────────────────────┤
│ Neuro-Divergent Models │
│ (LSTM, TCN, N-BEATS, Transformers) │
├─────────────────────────────────────────────┤
│ ruv-FANN Core Engine │
│ (Rust Neural Networks) │
├─────────────────────────────────────────────┤
│ WASM Runtime │
│ (Browser/Edge/Server/Embedded) │
└─────────────────────────────────────────────┘
⚡ Key Features
🏃 Performance
- <100ms decisions - Complex reasoning in milliseconds
- 84.8% SWE-Bench - Best-in-class problem solving
- 2.8-4.4x faster - Than traditional frameworks
- 32.3% less tokens - Cost-efficient intelligence
🛠️ Technology
- Pure Rust - Memory safe, zero panics
- WebAssembly - Run anywhere: browser to RISC-V
- CPU-native - No CUDA, no GPU required
- MCP Integration - Native Claude Code support
🧬 Intelligence Models
- 27+ Neural Architectures - From MLP to Transformers
- 5 Swarm Topologies - Mesh, ring, hierarchical, star, custom
- 7 Cognitive Patterns - Convergent, divergent, lateral, systems thinking
- Adaptive Learning - Real-time evolution and optimization
📊 Benchmarks
| Metric | ruv-swarm | Claude 3.7 | GPT-4 | Improvement |
|---|---|---|---|---|
| SWE-Bench Solve Rate | 84.8% | 70.3% | 65.2% | +14.5pp |
| Token Efficiency | 32.3% less | Baseline | +5% | Best |
| Speed (tasks/sec) | 3,800 | N/A | N/A | 4.4x |
| Memory Usage | 29% less | Baseline | N/A | Optimal |
🌐 Ecosystem Projects
Core Projects
- ruv-FANN - Neural network foundation library
- Neuro-Divergent - Advanced forecasting models
- ruv-swarm - Distributed swarm intelligence
Tools & Extensions
- MCP Server - Claude Code integration
- CLI Tools - Command-line interface
- Docker Support - Containerized deployment
🤝 Contributing with GitHub Swarm
We use an innovative swarm-based contribution system powered by ruv-swarm itself!
How to Contribute
-
Fork & Clone
git clone https://github.com/your-username/ruv-FANN.git cd ruv-FANN -
Initialize Swarm
npx ruv-swarm init --github-swarm -
Spawn Contribution Agents
# Auto-spawns specialized agents for your contribution type npx ruv-swarm contribute --type "feature|bug|docs" -
Let the Swarm Guide You
- Agents analyze codebase and suggest implementation
- Automatic code review and optimization
- Generates tests and documentation
- Creates optimized pull request
Contribution Areas
- 🐛 Bug Fixes - Swarm identifies and fixes issues
- ✨ Features - Guided feature implementation
- 📚 Documentation - Auto-generated from code analysis
- 🧪 Tests - Intelligent test generation
- 🎨 Examples - Working demos and tutorials
🙏 Acknowledgments
Special Thanks To
Core Contributors
- Ocean(@ohdearquant) - Transformed FANN from mock implementations to real neural networks with actual CPU and GPU training. Built the Rust implementation from placeholder code into a functional neural computing engine.
- Bron(@syndicate604) - Made the JavaScript/WASM integration actually work by removing mock functions and building real functionality. Transformed broken prototypes into production-ready systems.
- Jed(@jedarden) - Platform integration and scope management
- Shep(@elsheppo) - Testing framework and quality assurance
Projects We Built Upon
- FANN - Steffen Nissen's original Fast Artificial Neural Network library
- NeuralForecast - Inspiration for forecasting model APIs
- Claude MCP - Model Context Protocol for AI integration
- Rust WASM - WebAssembly toolchain and ecosystem
Open Source Libraries
- num-traits - Generic numeric traits
- ndarray - N-dimensional arrays
- serde - Serialization framework
- tokio - Async runtime
- wasm-bindgen - WASM bindings
Community
Thanks to all contributors, issue reporters, and users who have helped shape ruv-FANN into what it is today. Special recognition to the Rust ML community for pioneering memory-safe machine learning.
📄 License
Dual-licensed under:
- Apache License 2.0 (LICENSE-APACHE)
- MIT License (LICENSE-MIT)
Choose whichever license works best for your use case.
<div align="center">
Built with ❤️ and 🦀 by the rUv team
Making intelligence ephemeral, accessible, and precise
Website • Documentation • Discord • Twitter
</div>Related MCP servers

AI orchestration platform with 100+ agents, swarm coordination, and self-learning memory for enterprise development.

Cloud-powered MCP platform for deploying autonomous agent swarms, sandboxes, and workflow automation with gamified challenges and credit-based economics.
Run commands on your computers remotely with TRIGGERcmd.
MCP server for Cronometer nutrition tracking — access food logs, macros, fasting data, and diary management.

Hevy MCP (Remote)
Hosted/gateway-ready Hevy fitness MCP: workouts, routines, templates.
