原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Codeweave

作者:semihkayan版本 0.1.20i★ –i在你的电脑上运行
注册名称io.github.semihkayan/codeweave

安装

概览

作者提供的说明(英文原文)

Save tokens while coding — your AI agent gets structured code context, not file dumps.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "codeweave": {
      "command": "npx",
      "args": [
        "-y",
        "@codeweave/mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add codeweave -- npx -y @codeweave/mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "codeweave": {
      "command": "npx",
      "args": [
        "-y",
        "@codeweave/mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "codeweave": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codeweave/mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 semihkayan 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32476 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32476 个服务器的 5% 更新
  • 基础检查结果等于或优于此分类中其他 32476 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Codeweave 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.20)于7个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, zanadir

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

zanadir

作者:MustacheCase

Find what a repository's CI is missing, and which security checks cannot fail the build.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

@codeweave/mcp

Give your AI agent structured code understanding — not just file dumps.


CodeWeave is an MCP server that gives AI agents cheap, precise code intelligence. Instead of dumping entire files into context, your agent queries local indexes — AST, call graph, type graph, hybrid semantic search — and gets back only what it needs.

Less tokens. More relevant context. Better decisions.

The semantic search pipeline is the heart of the system: a 6-stage hybrid engine combining vector embeddings, full-text search, and structural density scoring. Tested extensively across large production codebases — Java monoliths, TypeScript monorepos, Python ML pipelines, Go microservices — with consistently strong retrieval accuracy.

Actively developed. New tools and improvements ship regularly. Contributions and feedback are welcome.

Quick Start

cd your-project

npx @codeweave/mcp

That's it. The setup wizard handles everything:

  1. Installs @codeweave/mcp globally
  2. Installs Ollama if needed
  3. Downloads the embedding model
  4. Configures your MCP client (Claude Code, VS Code)
  5. Indexes your project

Note: The first run requires a one-time download of Ollama and the embedding model. This takes a few minutes but only happens once.

Open your project in Claude Code or VS Code and start asking questions.

Tools

3 tools organized around the code understanding workflow:

ToolPurpose
semantic_searchSearch by meaning — finds functions even when you don't know exact names. Hybrid vector + keyword search with density-based reranking.
reindexManually trigger index update. Usually unnecessary — file watcher auto-reindexes on changes.
get_index_statusIndex health dashboard: file/function counts, embedding status, call graph stats, language breakdown.

How It Works

Source Code

│ ▼ tree-sitter AST ───> Function Index (in-memory) │ ┌──────────┼──────────┐ ▼ ▼ ▼ Call Graph Type Graph Embeddings (JSON) (JSON) (LanceDB) │ │ │ └──────────┼──────────┘ ▼ 3 MCP Tools ───> AI Agent

  1. Parse — tree-sitter extracts every function, class, method, and interface across 7 languages
  2. Embed — Qwen3-Embedding-0.6B generates vector embeddings for semantic search
  3. Index — LanceDB stores vectors with BM25 full-text index alongside
  4. Graph — Call graph tracks who-calls-whom with type-aware resolution; type graph tracks inheritance and implementations (powers ranking and index-status reporting)
  5. Watch — File watcher detects changes and incrementally reindexes affected files
  6. Serve — 3 tools exposed over MCP protocol (stdio), ready before indexing completes

Semantic Search

The search pipeline is where CodeWeave really shines. It's not just vector similarity — it's a multi-stage system designed to surface the most *relevant* and *important* code:

6-Stage Pipeline:

  1. Exact name match — Fast path for known function names (score 0.95+)
  2. Vector search — Embed the query, find semantically similar functions (over-fetches 3x for reranking headroom)
  3. Full-text search — BM25 keyword matching catches what embeddings miss
  4. RRF merge — Reciprocal Rank Fusion combines both result lists without needing score calibration
  5. Exact match boost — Functions whose name matches the query get priority
  6. Density reranking — Structural signals determine information density, pushing trivial code down

Density Scoring uses 7 language-agnostic structural signals:

SignalWhat it measures
Body sizeLarger functions carry more behavior (log-scaled)
Docstring presenceDocumented code is more likely to be important
Docstring richnessTags, deps, side effects indicate well-maintained code
Parameter countMore params = more complex behavior
Call graph centralityFunctions called by many others are architectural anchors
VisibilityPublic > protected > private
KindClasses > methods/functions > interfaces

Penalties prevent noise from dominating results:

  • Accessors (getters/setters) — pure data access, no behavior
  • Constructors — many params inflate scores, but they're just assignments
  • Test files — large bodies don't mean important behavior (unless you're searching for tests)

Graceful degradation: If Ollama is unavailable, search falls back to full-text only.

Why These Technologies

Every technology choice serves the core goal: local, fast, zero-config code understanding.

TechnologyWhy
tree-sitterOne parsing framework for all 7 languages. Mature, fast, battle-tested. Gives us full AST access without writing 7 different parsers from scratch.
LanceDBEmbedded vector database — no external server, no Docker, no configuration. Just a directory on disk. Supports both vector search and BM25 full-text search in a single engine.
Qwen3-Embedding-0.6BThe secret weapon. Just 0.6B parameters but delivers embedding quality that rivals models 10x its size for code understanding. Tested across large production codebases — Java enterprise monoliths, TypeScript monorepos, Python data pipelines — with consistently excellent retrieval accuracy. Runs locally via Ollama, fast enough for real-time reindexing, lightweight enough for any developer machine.
RRF (Reciprocal Rank Fusion)Proven technique from information retrieval research. Merges ranked lists from different scoring systems (vector similarity vs. BM25 relevance) without needing score calibration. Simple, robust, effective.
MCP ProtocolStandard interface for AI tool integration. One server works with Claude Code, VS Code, Cursor, and any MCP-compatible client.

Supported Languages

LanguageFunctionsCallsImportsTypesTest Detection
Pythonfunctions, methods, classescall sitesimport/from-importclass inheritance, type hintspytest, unittest
TypeScriptfunctions, arrows, methods, classes, interfacescall sitesnamed/default/namespace importsimplements, extends, member typesjest, vitest, playwright
JavaScript(same as TypeScript)(same as TypeScript)(same as TypeScript)(same as TypeScript)jest, vitest, mocha
Gofunctions, methods (receiver), structscall sitesimport specsimplicit interfaces, structstesting, testify
Rustfunctions, methods (impl), structs, enumscall sitesuse declarationsimpl Trait for Type#[test], #[cfg(test)]
Javamethods, constructors, classes, interfacesmethod invocationsimport declarationsextends, implementsJUnit, Mockito, AssertJ
C#methods, constructors, classes, structs, interfaces, recordsinvocationsusing directivesbase types, interface implNUnit, xUnit, Moq

Every language parser also provides:

  • Noise filtering — built-in lists of standard library calls (e.g., console.log, fmt.Println, System.out.println) that get filtered from dependency analysis
  • Structural hints — AST-confirmed classifications (constructor, abstract, getter/setter, test) that feed into density scoring

Configuration

CodeWeave works zero-config out of the box. For customization, create .code-context/config.yaml:

workspaces:
  • . # Root workspace
  • clients/web # Web client
  • clients/mobile # Mobile client

embedding: model: "qwen3-embedding:0.6b" # Embedding model name ollamaUrl: "http://localhost:11434" # Ollama API endpoint dimensions: 1024 # Vector dimensions batchSize: 50 # Embedding batch size

parser: sourceRoot: "src" # Strip this prefix from module paths ignore:

  • "**/*.generated.*" # Additional ignore patterns
  • "/vendor/"

search: rrfK: 60 # RRF smoothing constant expandCamelCase: true # Expand camelCase in search chunks density: enabled: true # Density-based reranking accessorPenalty: 0.6 # Penalty for getters/setters constructorPenalty: 0.7 # Penalty for constructors testFilePenalty: 0.5 # Penalty for test files

watcher: debounceMs: 500 # File change debounce minIntervalMs: 2000 # Minimum reindex interval

indexing: maxFileSizeKb: 500 # Skip files larger than this

CLI Tools

# Full project initialization (AST + embeddings + graphs)

codeweave-init [path] [--force] [--no-embed]

Incremental reindex (only changed files)

codeweave-reindex [--all] [--files=path1,path2] [--stdin]

Manual Setup

If you prefer step-by-step instead of npx @codeweave/mcp:

# 1. Install globally

npm install -g @codeweave/mcp

2. Install Ollama and pull the embedding model

macOS

brew install ollama

Linux

curl -fsSL https://ollama.com/install.sh | sh

ollama pull qwen3-embedding:0.6b

3. Index your project

cd your-project codeweave-init

### 4. Configure your MCP client

Claude Code — add .mcp.json to your project root:

{

"mcpServers": { "codeweave": { "command": "codeweave-server" } } }

VS Code — add .vscode/mcp.json:

{

"servers": { "codeweave": { "command": "codeweave-server" } } }

Monorepo Support

CodeWeave auto-detects workspaces in monorepos by scanning for manifest files (package.json, build.gradle, pom.xml, go.mod, Cargo.toml, pyproject.toml, etc.):

my-project/

├── backend/build.gradle → workspace "backend" ├── mobile/package.json → workspace "mobile" └── shared/package.json → workspace "shared"

Each workspace gets its own isolated index, call graph, type graph, and vector store. Tools accept an optional workspace parameter — omit it to search across all workspaces.

Git Worktree Support

CodeWeave automatically detects git worktrees (including Claude Code's /worktree). On first start in a worktree, it copies the main repo's cache for a fast warm start (~2s instead of 30s+). After that, each worktree maintains its own fully isolated index.

  • Automatic — no configuration needed
  • Isolated — worktree changes don't affect the main repo's cache
  • Incremental — only files that differ from the main branch are re-parsed and re-embedded

Requirements

  • Node.js 20+
  • Ollama — for semantic search embeddings. Install via the setup wizard or manually from ollama.com. Without Ollama, semantic search falls back to full-text only.

Status

CodeWeave is under active development. The core indexing pipeline and all 3 tools are stable and tested across production codebases in all 7 supported languages.

Feedback, bug reports, and cont

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx