Search Tools
Enables intelligent code analysis and search across repositories using the CodeRank algorithm (inspired by PageRank) to identify critical modules, trace dependencies, find code hotspots, and perform context-aware keyword searches with importance-rank
What is Search Tools?
Search Tools is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables intelligent code analysis and search across repositories using the coderank algorithm (inspired by pagerank) to identify critical modules, trace dependencies, find code hotspots, and perform c...
Enables intelligent code analysis and search across repositories using the CodeRank algorithm (inspired by PageRank) to identify critical modules, trace dependencies, find code hotspots, and perform context-aware keyword searches with importance-rank
This server falls under the Search & Data Extraction and Developer Tools categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Enables intelligent code analysis and search across reposito
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx search-tools-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Search Tools
The Search Tools MCP Server brings PageRank-inspired code intelligence to AI assistants through a CodeRank algorithm that scores every file in a repository by its import graph connectivity and usage frequency. Beyond ranking, it exposes AST-aware symbol extraction, cross-repo symbol reference tracing, dependency impact analysis, and ripgrep-backed keyword search weighted by CodeRank scores. Software engineers and AI agents use it to navigate large, unfamiliar codebases by surfacing the most important modules first and understanding the blast radius of changes before making them.
Prerequisites
- Python 3.10+ and the uv package manager (for 'uv sync' and 'uv run')
- ripgrep (rg) installed and on your PATH for the keyword search features
- The repository or codebase you want to analyze cloned locally
- An MCP-compatible client such as Claude Desktop or the Claude CLI
Clone the search-tools-mcp repository
Clone the server repository to your local machine.
git clone https://github.com/voxmenthe/search-tools-mcp.git
cd search-tools-mcpInstall dependencies with uv
Use uv sync to create the virtual environment and install all required Python packages.
uv syncTest the server in development mode
Run the MCP dev server to verify it starts and exposes tools correctly before wiring it into your client.
uv run mcp dev main.pyAdd the server to your MCP client configuration
Open claude_desktop_config.json and add the search-tools server. Use the absolute path to your uv binary and the cloned repository directory.
{
"mcpServers": {
"search-tools": {
"command": "/home/user/.local/bin/uv",
"args": ["run", "--directory", "/absolute/path/to/search-tools-mcp", "main.py"]
}
}
}Restart your MCP client and point it at a codebase
Restart Claude Desktop and ask it to run a CodeRank analysis or symbol search against one of your local repositories.
Search Tools Examples
Client configuration
Claude Desktop configuration for the search-tools MCP server using uv run.
{
"mcpServers": {
"search-tools": {
"command": "/home/user/.local/bin/uv",
"args": [
"run",
"--directory",
"/absolute/path/to/search-tools-mcp",
"main.py"
]
}
}
}Prompts to try
Example prompts for analyzing codebases with the search-tools server.
- "Run a CodeRank analysis on /home/user/myapp and show me the top 10 most critical modules"
- "Find all symbols (functions and classes) defined in /home/user/myapp/src/auth"
- "Search for usages of the UserRepository class across the entire codebase"
- "Identify code hotspots in /home/user/myapp — files that are both highly connected and frequently changed"
- "Trace the dependency impact of changing the DatabaseConnection module in /home/user/myapp"Troubleshooting Search Tools
The server fails to start with a ModuleNotFoundError
Run 'uv sync' again from the search-tools-mcp directory to ensure all dependencies are installed into the uv-managed virtual environment. Confirm that the --directory argument in your config points to the correct cloned path.
Keyword search returns no results even though the term exists in the codebase
Verify that ripgrep (rg) is installed and available on the PATH of the process running the server. Install it with 'brew install ripgrep' on macOS or 'apt-get install ripgrep' on Linux.
Frequently Asked Questions about Search Tools
What is Search Tools?
Search Tools is a Model Context Protocol (MCP) server that enables intelligent code analysis and search across repositories using the coderank algorithm (inspired by pagerank) to identify critical modules, trace dependencies, find code hotspots, and perform context-aware keyword searches with importance-rank It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Search Tools?
Follow the installation instructions on the Search Tools GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Search Tools?
Search Tools works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Search Tools free to use?
Yes, Search Tools is open source and available under the Apache 2.0 license. You can use it freely in both personal and commercial projects.
Search Tools Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to Search Tools? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Search Tools in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Search Tools?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.