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

Outworked v0.3.0 adds iMessage support, built-in browser, and scheduling for Claude Code agents
Outworked v0.3.0 introduces iMessage channel support for agent communication, a built-in browser for web interaction, scheduling via cron, tunneling for local sharing, and enhanced MCP/Skills support. The desktop app orchestrates Claude Code agents as a team to handle coding tasks, web research, and automated workflows.

Security scanning skill for AI coding agents automatically checks deployments
A developer created a skill file that enables AI coding agents to automatically scan their own deployments for security issues like exposed secrets, open ports, missing security headers, and leaked source code. The scan runs after every deploy and takes about 30 seconds.

OpenClaw Memos Plugin Addresses Memory Handoff Issues in AI Coding Agents
A Reddit user shares how the Claude code leak highlighted problems with memory handoff in AI coding agents, where bloated transcripts cause issues during model switching. They implemented the memos plugin in OpenClaw with selective recall strategy to compress recent work and drop stale tool calls.

Holisto Seed: A Local LLM Framework with Persistent Identity and Consensual Memory Consolidation
Holisto Seed is a Relational Individuation Framework that gives LLM agents persistent identity, biographical memory, and co-evolutionary relationships with users. It runs fully local with a Git-based versioning system and features a consensual sleep cycle for memory consolidation.