
mixelpixx/codeseeker-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
🔍 Advanced code search and transformation MCP server for AI assistants. Combines ugrep's speed with intelligent replace capabilities, dry-run previews, and language-aware refactoring across 11 tools.
概要
A comprehensive Model Context Protocol (MCP) server that combines the power of ugrep and ast-grep philosophies to deliver intelligent search and replace capabilities for modern development workflows. CodeSeeker provides AI assistants with complete search AND replace capabilities: - : Standard pattern matching with file type filtering and context - : Google-like search with AND, OR, NOT operators - : Approximate pattern matching allowing character errors - : Search inside compressed files and archives (zip, tar, 7z, etc.
README
以下は原文 README の抜粋です。原文を見る。
CodeSeeker
Advanced code search and transformation for AI assistants
A comprehensive Model Context Protocol (MCP) server that combines the power of ugrep and ast-grep philosophies to deliver intelligent search and replace capabilities for modern development workflows.
🚀 Features
CodeSeeker provides AI assistants with complete search AND replace capabilities:
🔍 Core Search Tools
- Basic Search: Standard pattern matching with file type filtering and context
- Boolean Search: Google-like search with AND, OR, NOT operators
- Fuzzy Search: Approximate pattern matching allowing character errors
- Archive Search: Search inside compressed files and archives (zip, tar, 7z, etc.)
- Interactive Search: Launch ugrep’s TUI for real-time search
- Code Structure Search: Find functions, classes, methods, imports, and variables
🔧 Search & Replace Tools
- Search and Replace: Safe find & replace with dry-run preview and automatic backups
- Bulk Replace: Multiple search/replace operations in a single command
- Code Refactor: Language-aware refactoring for code structures across multiple languages
⚡ Advanced Features
- JSON Output: Structured results perfect for AI processing
- File Type Filtering: Search specific programming languages or document types
- Context Lines: Show surrounding lines for better understanding
- Search Statistics: Get detailed metrics about search operations
- Archive Support: Search nested archives without extraction
- Safety First: Dry-run mode by default with automatic backup creation
- Language Awareness: Smart patterns for JavaScript, TypeScript, Python, Java, C++
📋 Prerequisites
1. Install ugrep
Ubuntu/Debian:
sudo apt-get install ugrep
macOS (Homebrew):
brew install ugrep
Windows (Chocolatey):
choco install ugrep
From source:
git clone https://github.com/Genivia/ugrep.git
cd ugrep
./configure
make
sudo make install
Verify installation:
ugrep --version
# Should show version 7.4 or higher
2. Install Node.js
Ensure you have Node.js 18+ installed:
node --version
# Should show v18.0.0 or higher
🛠️ Installation
Clone and Build
git clone https://github.com/yourusername/codeseeker-mcp.git
cd codeseeker-mcp
npm install
npm run build
Quick Test
npm test
# Should show all tests passing
⚙️ Configuration
Claude Desktop Integration
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"codeseeker": {
"command": "node",
"args": ["/absolute/path/to/codeseeker-mcp/build/index.js"]
}
}
}