Intelligent developer assistant that extends Claude's context through MCP+RAG, providing seamless access to codebase knowledge while optimizing costs through smart model routing and caching.
Signal Hub is part of the Signal ecosystem, serving as the central convergence point where all your code context comes together for intelligent AI routing. It acts as an MCP (Model Context Protocol) server that gives Claude unlimited effective context through RAG (Retrieval-Augmented Generation) while intelligently routing queries to the most cost-effective model.
The community edition provides core functionality for extending Claude's context:
- β MCP server integration with Claude Code
- β Codebase indexing and semantic search
- β Basic RAG retrieval and context assembly
- β Simple rule-based model routing
- β Semantic caching for repeated queries
- β Manual escalation to premium models
- β Basic cost tracking
Advanced features for teams and power users:
- π ML-powered intelligent model routing
- π Learning algorithms that improve over time
- π° Advanced cost optimization (save 70%+ on AI costs)
- π Detailed analytics and ROI reporting
- π₯ Team collaboration and sharing
- π Enterprise security and compliance
- β‘ Priority support and SLAs
Early Access Program: Currently, all features are available to early adopters to help us refine the product and pricing. Join our Discord to participate!
- π Unlimited Context: Access your entire codebase through semantic search
- π° Cost Optimization: Automatic routing between Haiku, Sonnet, and Opus based on complexity
- β‘ Lightning Fast: Semantic caching for instant responses to similar queries
- π Continuous Learning: Improves routing decisions based on user feedback (Pro)
- π οΈ Zero Friction: Works out of the box with minimal configuration
- π Open Source: Community-driven development with transparent roadmap
- Python 3.11 or higher
- Docker Desktop
- Git
git clone https://github.com/wespiper/signal-hub.git
cd signal-hub
./scripts/setup.shgit clone https://github.com/wespiper/signal-hub.git
cd signal-hub
.\scripts\setup.ps1- Install Poetry:
curl -sSL https://install.python-poetry.org | python3 -- Install dependencies:
poetry install- Configure Signal Hub:
cp config/.env.example config/.env
# Add your OpenAI API key for embeddings- Start services:
cd docker && docker compose up -d
cd .. && signal-hub serve --config config/dev.yaml- Connect with Claude Code by adding Signal Hub to your MCP servers configuration.
Signal Hub provides several MCP tools for intelligent code navigation:
search_code: Semantic search across your entire codebaseexplain_code: Get detailed explanations with relevant contextfind_similar: Find code similar to a given snippetget_context: Get relevant context for your current taskescalate_query: Manual escalation to better model (coming in Sprint 3)
Signal Hub consists of several key components:
- MCP Server: Handles communication with Claude Code
- Indexing Pipeline: Scans and embeds your codebase
- RAG System: Retrieves relevant context for queries
- Model Router: Intelligently selects the appropriate model
- Cache Layer: Stores and retrieves similar queries
# Run all tests with coverage
make test
# Run specific test categories
pytest tests/unit/
pytest tests/integration/
# Generate coverage report
make test-coveragemake format # Format code with Black
make lint # Run Ruff linter
make type-check # Type checking with MyPy
make quality # Run all quality checks-
Start Development Environment:
make dev
-
Run with Early Access Features:
SIGNAL_HUB_EARLY_ACCESS=true signal-hub serve
-
Monitor Logs:
# JSON logs for production SIGNAL_HUB_LOG_FORMAT=json signal-hub serve # Check metrics endpoint curl http://localhost:3334/metrics
We welcome contributions! Please see our Contributing Guidelines for details.
- π Report bugs using our issue template
- π‘ Request features using our feature template
- π§ Submit PRs following our PR template
- β Basic MCP server implementation with plugin architecture
- β Codebase indexing and embedding pipeline
- β File parser framework (Python, JavaScript, Markdown)
- β ChromaDB integration for vector storage
- β Development environment with Docker
- β Comprehensive logging and monitoring
- β CI/CD pipeline with GitHub Actions
- β Security scanning and dependency management
- β NEW: RAG retrieval system with semantic search
- β NEW: Intelligent AST-based code chunking
- β NEW: Context assembly with deduplication
- β NEW: MCP tools (search_code, explain_code, find_similar, get_context)
- β NEW: 5x performance improvement in embedding generation
- β Rule-based model routing (Haiku/Sonnet/Opus)
- β Semantic caching for repeated queries
- β Basic cost tracking and reporting
- β Manual escalation mechanism (@haiku/@sonnet/@opus)
- β Cache management and eviction strategies
- β Routing configuration system
- β Security foundations (API keys, rate limiting, auth)
- π Comprehensive setup and usage documentation
- π― Example configurations and tutorials
- β‘ Performance optimizations
- π Community launch preparation
- π Simple analytics dashboard
- π Production migration guides
- Pro tier with advanced features
- Enterprise deployment options
- Team management capabilities
Signal Hub is open source software licensed under the MIT License. See LICENSE for details.
- π Documentation
- π¬ Discord Community
- π Issue Tracker
- π§ Email Support
Signal Hub is built on top of excellent open source projects:
- MCP - Model Context Protocol by Anthropic
- ChromaDB - Vector database for embeddings
- Tree-sitter - Code parsing library
Signal Hub - Where your codebase knowledge meets intelligent AI routing.