独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
D

davidvc/code-knowledge-mcptool

MCP tool that lets Cline inquire about a code base

装之前:没有可直接复制的命令 · 许可证未标注 · 链接可访问

第一步:git clone https://github.com/yourusername/code-knowledge-tool.git

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
取自该仓库的安装命令
pip install code-knowledge-tool

解析自我们于 2026-11-06 抓取的该仓库 README;我们未执行过。

这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 10 个来源 · mcp
安装
pip install code-knowledge-tool
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 pip install code-knowledge-tool。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# Code Knowledge Tool

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A knowledge management tool for code repositories using vector embeddings. This tool helps maintain and query knowledge about your codebase using advanced embedding techniques.
## Building and Installing
### 1. Build the Package
First, you need to build the distribution files:
bash
# Clone the repository
git clone https://github.com/yourusername/code-knowledge-tool.git
cd code-knowledge-tool
# Create and activate a virtual environment
python -m venv venv
source venv/bin/activate
# Install build tools
python -m pip install --upgrade pip build
# Build the package
python -m build
This will create two files in the dist/ directory:
codeknowledgetool-0.1.0-py3-none-any.whl (wheel file for installation)
codeknowledgetool-0.1.0.tar.gz (source distribution)
### 2. Install the Package
#### Prerequisites
1. Ensure Ollama is installed and running:
bash
# Install Ollama (if not already installed)
curl https://ollama.ai/install.sh | sh
# Start Ollama service
ollama serve
2. Install the package:
##### Option 1: Install from wheel file (recommended for usage)
bash
# Navigate to where you built the package
cd /path/to/codeknowledgetool
# Install from the wheel file
pip install dist/codeknowledgetool-0.1.0-py3-none-any.whl
##### Option 2: Install in editable mode (recommended for development)
This option is best if you want to modify the tool or contribute to its development:
bash
# Assuming you're already in the code-knowledge-tool directory
# and have activated your virtual environment
# Install in editable mode with development dependencies
pip install -e ".[dev]"
## Integration with RooCode/Cline
1. Copy the MCP configuration to your settings:
For Cline (VSCode):
bash
# Open the settings file
open ~/Library/Application\ Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/clinemcpsettings.json
Add this configuration:
json
"mcpServers": {
"codeknowledge": {
"command": "python",
"args": ["-m", "codeknowledgetool.mcptool"],
"env": {
"PYTHONPATH": "${workspaceFolder}"
For RooCode:
bash
# Open the settings file
open ~/Library/Application\ Support/RooCode/roocodeconfig.json
Add the same configuration as above.
2. Restart RooCode/Cline to load the new tool.
## Using as Memory Bank and RAG Context Provider
This tool can serve as your project's memory bank and RAG context provider. To set this up:
1. Copy the provided template to your project:
bash
cp clinerulestemplate.md /path/to/your/project/.clinerules
2. Customize the rules and patterns in .clinerules for your project's needs
The template includes comprehensive instructions for:
Knowledge base management
RAG-based development workflows
Code quality guidelines
Memory management practices
See clinerulestemplate.md for the full configuration and usage details.
## Features
Local vector storage for code knowledge
Efficient embedding generation using Ollama
Support for multiple file types
Context-aware code understanding
Integration with RooCode and Cline via MCP
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/davidvc-code-knowledge-mcptool/)
来源
awesome · https://github.com/davidvc/code-knowledge-mcptool
按领域浏览
MCP 服务
收录来源
10 个独立来源
收录于
今天

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引