Semble

Active
GitHub Python MIT

Description

Fast and accurate code search engine designed for AI agents. Uses semantic indexing instead of grep+read, reducing token consumption by roughly 98% while delivering higher-quality retrieval for code navigation tasks.

Key Features

  • Lightning-fast semantic search — embedding-based code retrieval that reduces token usage by ~98% vs grep+read
  • MCP server — exposes Model Context Protocol endpoints so agents can call it directly
  • High recall — outperforms traditional text matching on multiple code-retrieval benchmarks
  • Lightweight deployment — starts with a single binary/package, no heavy infrastructure required
  • Semantic deduplication — automatically identifies similar functions and duplicated code snippets
  • Agent-friendly — output format designed for LLM consumption

Use Cases

💡 Plugging high-speed code search into Claude Code, Cursor, Codex, and other coding agents
💡 Rapidly locating relevant functions and definitions in large monorepos
💡 Replacing grep+read workflows to dramatically cut token consumption
💡 Letting any MCP-compatible agent call Semble for code retrieval
💡 Providing semantic code completion and navigation in IDE plugins

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (5.9k stars)
  • Permissive open-source license (MIT)
  • Responsive to issues, low backlog

Quick Start

pip install semble
semble index /path/to/repo
semble search "function that handles user authentication"
# Or start the MCP server:
semble serve --mcp

Related Projects

codegraph

66.6k · C
Active A

CodeGraph is a context graph for coding agents, mapping how a codebase is wired together so LLM-driven tools can navigate dependencies and produce more accurate edits.

code-intelligencemcprag +2
  • · Pre-indexed code knowledge graph that auto-syncs code changes with millisecond queries
  • · Compatible with multiple coding agents including Claude Code, Codex, Cursor, and AntiGravity
  • · Runs 100% locally with indexes and queries kept on your machine

code-review-graph

30.4k · Python
Active A

Local-first code intelligence graph for MCP and CLI. Builds a persistent map of the codebase so AI coding tools read only what matters, with benchmarked context reductions on code review and large-repo workflows.

code-reviewknowledge-graphmcp +3
  • · Local-first — all indexing happens on the developer's machine, no data leaves the host
  • · Code intelligence graph — parses code with tree-sitter and builds an entity-relation graph
  • · MCP integration — exposes Model Context Protocol endpoints for Claude Code, Cursor, and other agents

airbyte

21.9k · Python
Active B

Airbyte is an open-source ELT data integration platform designed for AI agents and the modern data stack, connecting APIs, databases, and files to warehouses and AI applications.

data-integrationeltagent-tools +2
  • · 600+ data connectors covering APIs, databases, warehouses, and lakes
  • · Designed for AI agents with Airbyte Agents and a dedicated Agent SDK
  • · No-code Connector Builder to create custom data sources in minutes

Embedchain

63.4k · Python
Active A+

Embedchain is a universal memory layer for AI agents, enabling quick integration of diverse data sources into LLMs for context-aware AI applications.

memoryragembeddings +2
  • · Universal memory layer — quickly integrates diverse data sources (web, PDFs, YouTube, Notion) into LLMs for context
  • · Vectorized storage — auto-chunks, embeds, and stores data in vector databases with semantic retrieval support
  • · Multi-LLM backend support — compatible with OpenAI, Cohere, Ollama and other LLM and embedding models