
voxmenthe/search-tools-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
西 An Intelligent Model Context Protocol (MCP) 서버는 고급 검색 기능 및 의존성 매핑으로 코드를 분석합니다
개요
西 An Intelligent Model Context Protocol (MCP) 서버는 고급 검색 기능 및 의존성 매핑으로 코드를 분석합니다. 지능 분석 알고리즘과 전통적인 코드 검색을 결합하는 강력한 툴킷입니다. Codebase에서 가장 중요한 모듈을 확인하고 간단한 텍스트 일치를 넘어 정교한 검색 기능을 제공합니다. - : configurable context line의 립그립 파워 검색 - : Extract and Analysis function, class, method, module - : Find where symbols are used throughout your codebase - : 코드 중요성에 의해 평가 된 검색 결과 - : 네트워크 분석을 사용하여 가장 중요한 모듈 식별 - : Trace complex Dependency chains 및 Impact Analysis - : 매우 연결되고 자주 사용되는 코드 영역 찾기 - : 코드 변경의 잠재적 영향 분석 - 기호 유형 필터링 (기능, 방법, 클래스) - 파일 포함 / 제외 패턴 - 외부 ...
개요(AI 번역)
西安 지능형 모델 Context Protocol (MCP) 서버는 고급 검색 기능과 의존성 매핑으로 코드를 분석 할 수
# # . # . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Search Tools MCP Server는 지능형 분석 알고리즘과 전통적인 코드 검색을 결합하는 강력한 툴킷입니다. 코드베이스에서 가장 중요한 모듈을 식별하기 위해 ** CodeRank** 알고리즘(PageRank의 영감을 받은)을 활용하고 간단한 텍스트 일치를 넘어 정교한 검색 기능을 제공합니다.
키 기능
過去스마트 검색 기능
-Contextual Keyword Search: configurable 컨텍스트 라인의 립그라프 파워 검색
- Symbol Discovery: 추출 및 분석 기능, 클래스, 방법, 모듈
- Usage Tracking: 코드베이스를 가로지르는 기호를 찾습니다. -Priority- 등급 결과: 검색 결과 코드 중요성에 의해 순위
**Intelligence & Analysis **
- CodeRank Algorithm: 네트워크 분석을 사용하여 가장 중요한 모듈을 식별 -Dependency Mapping: 복잡한 의존성 사슬과 충격 분석
- ** 핫스팟 감지 ** : 높은 연결 및 자주 사용되는 코드 영역 찾기
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
🔍 Search Tools MCP Server
⚡ An intelligent Model Context Protocol (MCP) server that supercharges code analysis with advanced search capabilities and dependency mapping
🌟 Overview
The Search Tools MCP Server is a powerful toolkit that combines traditional code search with intelligent analysis algorithms. It leverages the CodeRank algorithm (inspired by PageRank) to identify the most critical modules in your codebase and provides sophisticated search capabilities that go beyond simple text matching.
🎯 Key Features
🔎 Smart Search Capabilities
- Contextual Keyword Search: Ripgrep-powered search with configurable context lines
- Symbol Discovery: Extract and analyze functions, classes, methods, and modules
- Usage Tracking: Find where symbols are used across your codebase
- Priority-Ranked Results: Search results ranked by code importance
🧠 Intelligence & Analysis
- CodeRank Algorithm: Identify the most critical modules using network analysis
- Dependency Mapping: Trace complex dependency chains and impact analysis
- Hotspot Detection: Find code areas that are both highly connected and frequently used
- Refactoring Impact: Analyze the potential impact of code changes
🎨 Advanced Filtering
- Symbol type filtering (functions, methods, classes)
- File inclusion/exclusion patterns
- External module dependency tracking
- Markdown documentation analysis
🛠️ Installation
Prerequisites
- Python 3.13+
uvpackage managerkitCLI tool (for symbol analysis)ripgrep(for fast text search)
Setup
# Clone the repository
git clone
cd search-tools
# Install dependencies
uv sync
⚙️ Configuration
Adding to Cursor/Windsurf
Add the following configuration to your mcp.json file:
{
"mcpServers": {
"search-tools": {
"command": "/path/to/uv",
"args": [
"run",
"--directory",
"/path/to/search-tools",
"main.py"
]
}
}
}
For macOS users with Homebrew:
{
"mcpServers": {
"search-tools": {
"command": "/Users/yourusername/.local/bin/uv",
"args": [
"run",
"--directory",
"/path/to/your/search-tools/directory",
"main.py"
]
}
}
}
To add to claude code:
claude mcp add-json search-tools '{"type":"stdio","command":"/Users/yourusername/.local/bin/uv","args":[ "run", "--directory", "/path/to/your/search-tools/directory", "main.py"]}'
📍 Finding Your Paths
To find the correct paths for your system:
# Find uv location
which uv
# Get absolute path to search-tools directory
pwd # (run this from the search-tools directory)
🚀 Available Tools
🔍 contextual_keyword_search
Search for keywords with configurable context lines around matches.
Parameters:
keyword: Search term (case insensitive)
설치
npx @modelcontextprotocol/inspector python main.py설정
{
"mcpServers": {
"search-tools": {
"command": "/path/to/uv",
"args": [
"run",
"--directory",
"/path/to/search-tools",
"main.py"
]
}
}
}