Semble: A Local MCP Server for Claude Code with 98% Token Reduction

Semble is an MCP server that lets Claude Code search local codebases efficiently, returning only relevant code chunks instead of full files. It uses a hybrid of static embeddings, BM25, and a code-optimized reranking stack, all running locally on CPU — no API keys, no GPU, no heavy dependencies.
Installation
Install via uvx:
claude mcp add semble -s user -- uvx --from "semble[mcp]" semble
Once installed, Claude Code can search any repo — local or remote — directly.
Key Details
- Token reduction: Uses ~98% fewer tokens than the typical grep+read approach.
- Performance: Indexes any repo in ~250ms, answers queries in ~1.5ms (all on CPU).
- Quality: Reaches NDCG@10 of 0.854 — 99% of the best transformer hybrid tested, while being ~200x faster.
- Benchmarked against: grepai, probe, colgrep, and other existing methods.
- Open source: Available on GitHub under the MinishLab organization.
Who It's For
Developers using Claude Code on large codebases who want to reduce token burn and latency while getting high-quality code search results without external API calls.
📖 Read the full source: r/ClaudeAI
👀 See Also

Open-source local hook automatically switches Claude models to cut AI costs
A developer created a local hook for Cursor and Claude Code that analyzes prompts and automatically selects the appropriate Claude model (Haiku, Sonnet, or Opus) before sending requests. The tool uses keyword rules to classify tasks and block overpaying scenarios, with retroactive analysis showing 50-70% cost reduction.

OpenClaw vs Hermes: Choose the Right Self-Hosted AI Agent After 100+ Deployments
After deploying 100+ AI agents for clients, a Reddit user shares hard-won lessons: OpenClaw (149K stars) is the reliable workhorse for single/small fleets; Hermes excels at multi-agent orchestration but has a smaller community.

Claude Code Skills for Automated Project Scaffolding
A developer has built Claude Code skills that automate full-stack project setup with commands for React, Next.js, Node.js APIs, and Turborepo monorepos. The skills pull latest dependencies, support 50+ integrations, and are MIT licensed.

Relay lets Claude Code sessions message each other without alt-tabbing
A plugin called Relay uses Claude Code's channels capability to let parallel sessions communicate directly, removing the need to manually copy-paste context between backend and frontend repos.