MCP.Market

Embgrep MCP server

by ArkNill·io.github.ArkNill/embgrep·v0.1.0

Local semantic search — embedding-powered grep for files, zero external services.

B75/100grade B
What users say
No reviews yet
Be the first
Safety scan
B75/100

full report

Adoption
New

0 stars27 downloads/wk

Reviews

Write one

Nobody has reviewed Embgrep yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Embgrep tools (4, 1 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • index_directory

    Index files in a directory for semantic search.

  • index_status

    Get current index statistics.

  • semantic_search

    Search indexed files using natural language.

  • update_indexwrite action

    Incremental update — re-index changed files only (hash comparison).

Public scan report

scanner v0.1.10 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan8 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 166 days ago8/15
  • Maintainer identitynamespace and repository owner differ4/10
Overall 75/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Embgrep compares

Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
75/100
higher than 45% of 4,460 AI and agents servers
Tools
4
the typical AI and agents server has 6
Tools that change things
25%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
27
more than 13% of 1,538 AI and agents servers with a package

What its tools let an agent do: 3 read · 1 change

Install Embgrep in Claude Code, Cursor or VS Code

claude mcp add embgrep -- uvx embgrep
Add to Cursor

What the publisher says

From the Embgrep repository's README, as published. We do not edit it. Read it on GitHub

embgrep

한국어 문서 · llms.txt

Local semantic search — embedding-powered grep for files, zero external services.

Search your codebase and documentation by meaning, not just keywords. embgrep indexes files into local embeddings and lets you run semantic queries — no API keys, no cloud services, no vector database servers.

Features

  • Local embeddings — Uses fastembed (ONNX Runtime), no API keys needed
  • SQLite storage — Single-file index, no external vector DB
  • Incremental indexing — Only re-indexes changed files (SHA-256 hash comparison)
  • Smart chunking — Function-level splitting for code, heading-level for docs
  • MCP native — 4-tool FastMCP server for LLM agent integration
  • 15+ file types — .py, .js, .ts, .java, .go, .rs, .md, .txt, .yaml, .json, .toml, and more

Install

pip install embgrep              # core (fastembed + numpy)
pip install embgrep[cli]         # + click/rich CLI
pip install embgrep[mcp]         # + FastMCP server
pip install embgrep[all]         # everything

Quick Start

Python API

from embgrep import EmbGrep

eg = EmbGrep()

# Index a directory
eg.index("./my-project", patterns=["*.py", "*.md"])

# Semantic search
results = eg.search("database connection pooling", top_k=5)
for r in results:
    print(f"{r.file_path}:{r.line_start}-{r.line_end} (score: {r.score:.4f})")
    print(f"  {r.chunk_text[:80]}...")

# Incremental update (only changed files)
eg.update()

# Index statistics
status = eg.status()
print(f"{status.total_files} files, {status.total_chunks} chunks, {status.index_size_mb} MB")

eg.close()

CLI

# Index a project
embgrep index ./my-project --patterns "*.py,*.md"

# Search
embgrep search "error handling patterns"

# Filter by file type
embgrep search "async database query" --path-filter "%.py"

# Check status
embgrep status

# Update changed files
embgrep update

Convenience functions

import embgrep

embgrep.index("./src")
results = embgrep.search("authentication middleware")
status = embgrep.status()
embgrep.update()

MCP Server

Add to your Claude Desktop / MCP client configuration:

{
  "mcpServers": {
    "embgrep": {
      "command": "embgrep-mcp"
    }
  }
}

Or with uvx:

{
  "mcpServers": {
    "embgrep": {
      "command": "uvx",
      "args": ["--from", "embgrep[mcp]", "embgrep-mcp"]
    }
  }
}

MCP Tools

How It Works

flowchart TD
    A["📁 Files"] --> B["Smart Chunking\ncode: function-level\ndocs: heading-level"]
    B --> C["fastembed\nlocal embeddings"]
    C --> D["SQLite\nvector index"]
    D --> E["🔍 Query"]
    E --> F["Cosine Similarity\nranked results"]
    F --> G["✅ Matches\nwith context"]
  1. Chunking — Files are split into semantically meaningful chunks:
  • Code files (.py, .js, .ts, etc.): split by function/class boundaries
  • Documents (.md, .txt): split by headings or paragraph breaks
  • Config files: fixed-size chunking
  1. Embedding — Each chunk is converted to a 384-dimensional vector using BGE-small-en-v1.5 via ONNX Runtime (no PyTorch needed)
  1. Storage — Embeddings are stored as BLOBs in a local SQLite database

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Embgrep: common questions

Is Embgrep MCP server safe?
Mostly: it is graded B (75/100). Read the Embgrep safety report
How do I install Embgrep?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Embgrep need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Embgrep maintained?
The last commit was 203 days ago (2026-04-15). The latest release is v0.1.0.
What can I use instead of Embgrep?
Servers from other publishers that do the same job: Serena MCP: the IDE for your agent MCP server, Basic Memory MCP server and Power BI Authoring MCP Server (Local).
How does Embgrep compare with other AI and agents MCP servers?
safety score 75/100 (higher than 45% of 4,460 AI and agents servers); tools 4 (the typical AI and agents server has 6); tools that change things 25% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Embgrep

Same job from other publishers: the closest match first, then the best rated.

  • Serena MCP: the IDE for your agent
    A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
    C
  • Basic Memory
    Local-first knowledge management with bi-directional LLM sync via Markdown files.
    B
  • Power BI Authoring MCP Server (Local)
    The Power BI Authoring MCP server lets an AI agent create and change Power BI semantic models.
    A
  • Memanto
    MCP server for Memanto - persistent semantic memory for any MCP-compatible agent
    A
  • mcptoon
    MCP tools + agent skills in one zero-dependency CLI: 71,929 -> 581 tokens (-99.2%, measured).
    A

More from ArkNill →