Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

semhood

by ahmeedgamilversion 0.1.0i★ –iRuns on your computer
Registry nameio.github.AhmeedGamil/semhood

Install

Overview

Description from the maker (original English)

AST-based semantic code search; results ship with their call graph (calls + callers).

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Search & AI memory

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • The registry lists no key to fill in.

You need

  • PyPIPython’s uv installed (for the uvx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "semhood": {
      "command": "uvx",
      "args": [
        "semhood"
      ]
    }
  }
}

Run this in your terminal

claude mcp add semhood -- uvx semhood

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "semhood": {
      "command": "uvx",
      "args": [
        "semhood"
      ]
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "semhood": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "semhood"
      ]
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 8, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account ahmeedgamil, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Search & AI memoryi

  • More stars than 0% of the other 5675 servers in this category
  • Published to the registry more recently than 16% of the other 5675 servers in this category
  • Basic checks equal to or better than 100% of the other 5675 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is semhood safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.1.0) reached the registry 5 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: Context7, Codebase Memory, Exa

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Context7

by upstash

Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.

Computer or cloud★ 64,224MITUpdated yesterday
Install

Codebase Memory

by DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

Runs on your computer★ 48,148MITUpdated 21 days ago
Install

Exa

by exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

Runs in the cloud★ 5,213MITUpdated 2 months ago
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

semhood

Stop grepping. Find the exact code your AI agent needs by intent, not keywords. semhood is an AST-aware semantic code search engine that retrieves code by what it does, complete with call-graph context and optional LLM enrichment.

*Runs fully offline with zero API keys — or plug in cloud embeddings — Voyage's code-specialized models, or OpenAI's strong general-purpose (natural-language) embeddings — for higher-quality retrieval. Optional LLM enrichment adds a logic summary and developer queries to each chunk that you commit once and share — and every result ships with its call graph (what it calls + what calls it).*

Why semhood · Install · Quickstart · MCP Setup · Architecture · Config · Troubleshooting


   ┌──────────────┐    parse + embed     ┌──────────────┐    LLM enrich    ┌──────────────┐

│ source tree │ ───────────────────► │ code vector │ ──────────────► │ description │ │ │ │ + BM25 sparse│ │ + queries │ └──────────────┘ └──────────────┘ └──────────────┘

Search via CLI, HTTP, or MCP.

semhood indexes your codebase the way a developer thinks about it: every function, method, and class becomes a chunk, with its call graph, docstring, and signature attached. You search by intent (*"how do we retry transient payment failures?"*) and get back the few chunks that actually answer the question.

Two stages: structural (always, free, ~seconds) and enrichment (optional, LLM or code agent, drains a pending queue). The index is queryable after stage 1; stage 2 just makes natural-language matches sharper.

The package ships an MCP server so Claude Desktop, Cursor, Cline, Continue, Kiro, Zed, and any other MCP-aware client can call semhood as a tool — your AI agent gets search, find_symbol, and get_chunk_context next to its built-in read_file and grep.


What makes semhood different

Most code search embeds your raw source and hopes a natural-language query lands near it. semhood adds two things plain vector search and grep can't:

🧠 Enrichment that thinks like a developer

An LLM reads each function and class and writes two artifacts, each stored as its own search vector:

  • A logic summary — what the code actually *does*, in plain language. Not its name, not its signature — its behavior.
  • Predicted developer questions — the real questions an engineer would ask to find this code: *"how do we retry a failed payment?"*, *"where are customer emails validated?"*

This is the part that makes retrieval click. When you search with a question, you're matching against questions the code was pre-labeled to answer — so the right chunk wins even when it shares *zero keywords* with your query. You generate the enrichment once, commit it to git, and your whole team — and every AI agent — retrieves better for free. → Portable enrichment

Why enrichment matters: some code has no words to search. Plain semantic search only works when the source *contains* language close to your question. Plenty of important code doesn't — terse names, raw math, business rules. Consider a function like:

def _calc(p, r, n):

return p * (1 + r) ** n

Ask *"how do we calculate compound interest?"* and plain vector search comes up empty — there's no "interest", no "compound", nothing in the source that means anything close to the question. Enrichment reads the code and generates:

{

"logic_summary": "Computes compound interest — final balance = principal × (1 + rate)^periods.", "developer_queries": [ "how do we calculate compound interest?", "where is the future-value / compounding formula?", "how is a balance grown over multiple periods?" ] }

Now your question matches a pre-written question that means the same thing, and _calc ranks first — despite sharing *zero words* with your query. The cryptic-but-critical functions are exactly the ones plain semantic search misses and enrichment rescues.

🕸️ Every result ships with its call graph

Each chunk knows what it calls and what calls it. So a result isn't just "here's the function" — it's the function *plus its neighborhood*. One get_chunk_context call returns the body, calls, and called_by together, so your AI agent gets the caller/callee context in the same response instead of opening files and tracing references by hand.


Features

  • Retrieval-boosting enrichment — an LLM gives each chunk a plain-language logic summary + predicted developer questions, indexed as their own vectors so question-style queries hit the right code even with zero shared keywords. Written once, committed to git, shared with the team.
  • Call graph included — each result knows what it calls and what calls it, so your agent gets the neighborhood, not just the function
  • AST-aware chunking via Tree-sitter — every function, method, and class becomes a first-class searchable unit
  • Hybrid retrieval — dense vectors (code, description, developer_queries) + BM25 sparse, all in one query
  • Token-efficient for AI agents — replaces dozens of read_file + grep calls with one search
  • MCP server out of the box — works with Claude Desktop, Cursor, Cline, Continue, Kiro, Zed
  • 10 languages — Python, JavaScript, TypeScript, Java, Go, PHP, C#, Ruby, Rust, C++
  • Free tier works — local embeddings + structural pipeline need zero API keys
  • Incremental indexing — --changed re-indexes only what git diff touched

Install

# Local-only (free, offline embeddings via sentence-transformers)

pip install "semhood[local]"

With everything: voyage + openai + anthropic + cohere + chroma

pip install "semhood[all]"

Pick exactly what you need

pip install "semhood[anthropic,local]"

Prefer an isolated CLI install? pipx keeps semhood and its deps out of your global environment — recommended for a command-line tool:

pipx install "semhood[local]"

Just want to try it without installing? With uv, run it straight from PyPI:

uvx --from "semhood[local]" semhood index .

Requires Python 3.11+. First index downloads the embedding model (~420 MB for the default all-mpnet-base-v2) and caches it.


60-second quickstart

No config files, no API keys, no setup. semhood works offline with a local embedder by default. Just cd into any project and index it:

# 1. structural index — no LLM, free, no config needed

cd ~/code/your-project semhood index .

2. search — pure retrieval, ~80 ms (a background daemon stays warm)

semhood search "how does the payment retry logic work?"

3. (optional) LLM enrichment — needs an Anthropic/OpenAI/OpenRouter/Ollama key

semhood enrich

4. (optional) full RAG with answer generation

semhood query "where is auth handled?"

The first command auto-starts a background daemon that loads the embedding model once and keeps it warm — so every later search (from any terminal or your editor) is instant. Each project gets its own index automatically under ~/.semhood/indexes/, keyed by repo root. One global config lives at ~/.semhood/config.yaml (created on first run); there is no per-project config file to manage.


CLI commands

CommandWhat it does
semhood index Stage 1: parse + embed + upsert. No LLM.
semhood index --changedIncremental — only files in git diff HEAD~1.
semhood index --resetRebuild from scratch (after changing the embedding model).
semhood enrichStage 2: drain pending chunks through an LLM.
semhood enrich --forceRe-enrich every chunk.
semhood compactPrune orphaned records from .semhood/enrichment.jsonl.
semhood search "query"Pure retrieval. --format json/paths/compact/table.
semhood query "question"Full RAG: retrieval + answer generation.
semhood statusPer-state chunk counts + provider summary.
semhood projectsList every indexed project in ~/.semhood/indexes/.
semhood serveRun the daemon in the foreground (it otherwise auto-starts).
semhood stopStop the background daemon.
semhood doctorDaemon + config health check.

All commands act on the current project (nearest git root of your cwd).

Override with --root /path/to/repo. They're thin clients to the daemon — no

model loading, no config.yaml flag.


MCP — wire it into your AI editor

The package ships an MCP server (semhood-mcp) that exposes eight tools — five for search, three for agent-driven enrichment:

ToolUse it for
searchSemantic search over the index.
search_manySeveral searches in one call — results grouped per query.
find_symbolExact-name lookup for a function/method/class.
get_chunk_contextFull source + calls + called_by for a symbol.
index_statusSanity-check the index.
list_pending_enrichmentsGet a batch of chunks needing LLM enrichment.
save_enrichmentPersist a summary the agent wrote.
enrichment_progressLoop sentinel — pending vs done.

Register it once, globally — it then works in every project you open, with no per-project setup. This is the entire config — drop it into your editor's *user-level* MCP file:

{

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

Where that file lives, per editor (click to expand)

EditorConfig file
Claude Desktop (macOS)~/Library/Application Support/Claude/claude_desktop_config.json
Claude Desktop (Windows)%APPDATA%\Claude\claude_desktop_config.json
Cursor~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project)
Windsurf~/.codeium/windsurf/mcp_config.json
Cline (VS Code)Cline panel → MCP Servers → *Configure* (edits cline_mcp_settings.json)
Continue~/.continue/config.yaml → under a mcpServers: block
Kiro~/.kiro/settings/mcp.json
Claude Codeclaude mcp add semhood semhood-mcp

A few clients use a slightly different shape — e.g. VS Code's native MCP uses a

top-level "servers" key instead of "mcpServers". If yours differs, keep

Only the beginning is shown; read the rest in the repo

Ask PopNx