R.A.P.I.D.

by otdavies

Not rated
GitHub

About

A local MCP server providing powerful code analysis and search capabilities for software projects.

Details

Author
otdavies
Categories
Developer Tools, Search, Knowledge Base

Setup

Install R.A.P.I.D. in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/otdavies/Rapid

Follow the installation instructions in the repository README, then restart your MCP client.

R.A.P.I.D. Rapid Alignment of Project Intelligence and Documentation

RAPID is a local MCP server designed to provide powerful code analysis and search capabilities for any software project. It leverages a high-performance Rust-based file scanner to quickly parse and analyze code, exposing a set of tools that can be used by any MCP-compliant client.

This server is ideal for AI assistants and development tools that need to understand the context of a codebase to perform tasks like code generation, refactoring, and automated documentation.

- Full Project Context Analysis:Recursively scans a project directory to extract information about files, functions, and classes.
- Project-Wide Search:Performs fast, project-wide searches for specific strings or patterns.
- Multi-Language Support:Includes parsers for Python, Rust, C#, and TypeScript/JavaScript.
- High-Performance Rust Core:The file scanning and parsing logic is implemented in Rust for maximum performance and efficiency.
- Configurable:Allows for customization of scanning depth, file extensions, and output verbosity.
- MCP Compliant:Exposes its functionality through a set of well-defined MCP tools.

The server is composed of two main components:
- Python MCP Server (server.py):The main entry point of the server. It handles MCP requests, defines the available tools, and orchestrates the code analysis process.
- Rust File Scanner (file_scanner/):A Rust library that performs the heavy lifting of file system scanning, parsing, and search. It is called by the Python server through a C FFI layer.

This hybrid approach combines the flexibility of Python for the server logic with the performance of Rust for the CPU-intensive file processing tasks.

Initializes project context by reading/creatingplan.mdand provides a complexity assessment with guidance for interacting with the codebase. This should be the first tool called when starting work on a project.

- path(string, required): The absolute path to the project directory.
- timeout(integer, optional): Timeout in seconds for the initial scan. Default is 10.
- debug(boolean, optional): Whether to include the debug log in the output. Defaults to false.

{ "status": "success", "plan_md_content": "# Project Plan...", "project_assessment": { "file_count": 42, "complexity_level": "Small", "guidance": "Project is small (20-75 files)..." }, "stats": { "complexity_scan_duration_seconds": 0.05, "files_counted_for_complexity": 42 } }

Comprehensively scans a project directory to extract and structure code from specified file types. Generates a detailed overview of the project's content, including file structures and optionally, function/class descriptions. Essential for gaining a holistic understanding of a codebase.

- path(string, required): The absolute path to the project directory.
- extensions(array of strings, optional): A list of file extensions to include in the scan (e.g.,[".py", ".rs"]).
- max_depth(integer, optional): The maximum depth to scan directories. Default is 6.
- max_files(integer, optional): Maximum number of files to process. Default is 1000.
- compactness_level(integer, optional): Controls output verbosity: 0 (ultra-compact summary), 1 (compact, default), 2 (medium detail), 3 (highly detailed with full code snippets).
- timeout(integer, optional): Timeout in seconds for the operation. Default is 60.
- debug(boolean, optional): Whether to include the debug log in the output. Defaults to false.

🔍SEARCH FILES ACROSS ENTIRE PROJECT- This is THE primary tool for finding ANY text, code, functions, variables, or content across ALL files in a project. Use this powerful search whenever you need to locate specific strings, code patterns, function names, variable declarations, import statements, configuration values, or ANY text content anywhere in the codebase. Essential for understanding existing code before making changes. Returns precise matches with helpful surrounding context lines.

- path(string, required): The absolute path to the project directory.
- search_string(string, required): The string to search for.
- extensions(array of strings, optional): A list of file extensions to search in.
- max_depth(integer, optional): Maximum depth to scan directories. Default is 6.
- max_files(integer, optional): Maximum number of files to process. Default is 1000.
- context_lines(integer, optional): The number of context lines to include around each match. Default is 2.
- timeout(integer, optional): Timeout in seconds for the operation. Default is 60.
- debug(boolean, optional): Whether to include the debug log in the output. Defaults to false.

🧠AI-POWERED SEMANTIC CODE SEARCH- This intelligent tool uses machine learning embeddings to understand the MEANING and INTENT behind your natural language queries, not just exact text matches. Perfect for finding code when you describe WHAT you want rather than knowing exact function names. Examples: 'authentication logic', 'database connection setup', 'error handling patterns'. ⚠️Performance Note: Slower than text search - uses AI processing, so be mindful on large codebases (1000+ files).

- path(string, required): The absolute path to the project directory.
- query(string, required): A natural language description of the functionality or concept you are searching for (e.g., "how user authentication is handled").
- extensions(array of strings, optional): File extensions to scan. Defaults to common code extensions.
- top_n(integer, optional): Number of top results to return. Default is 10.
- timeout(integer, optional): Timeout in seconds for the operation. Default is 20.
- debug(boolean, optional): Whether to include the debug log in the output. Defaults to false.

This guide provides step-by-step instructions to get the R.A.P.I.D. server up and running on your local machine.

Before you proceed, make sure you have the following software installed:

- Git:For cloning the source code. You can download it fromgit-scm.com.
- Python (3.8+):The core server is written in Python. You can get it from
python.org.
- Rust:The high-performance file scanner is built with Rust. The recommended installation method isrustupfrom
rust-lang.org.

Open your terminal, navigate to your desired directory, and clone the repository:

git clone https://github.com/otdavies/Rapid.git cd Rapid

It's best practice to use a virtual environment to avoid conflicts with other projects.

# Create a virtual environment python -m venv venv # Activate it # On Windows: # venv\Scripts\activate # On macOS/Linux: # source venv/bin/activate # Install dependencies pip install -r requirements.txt

Compile the Rust library, which handles the file scanning and parsing.

cd file_scanner cargo build --release cd ..

Once these steps are complete, the server is ready to be configured with your client.

To use this server, you need to register it with your MCP-compliant client (e.g., an AI assistant in your IDE). This typically involves adding a configuration block to the client's settings file.

Locate your MCP client's configuration file (often asettings.jsonor similar) and add the following entry to themcpServersobject. Make sure to replace"your-path-here\\server.py"with the absolute path to theserver.pyfile in this project.

"mcpServers": { "project-context": { "disabled": false, "timeout": 30, "type": "stdio", "command": "python", "args": [ "your-path-here\\server.py" ], "env": {} } }

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Structural codebase indexer with 17 query tools. 87% token reduction. Zero dependencies.

Source-code intelligence for agents, powered by OpenGrok and Go.

Create and read feature flags, review experiments, generate flag types, search docs, and interact with GrowthBook's feature flagging and experimentation platform.

Official MCP server for Stimulsoft Reports & Dashboards documentation. Semantic search across FAQ, Programming Manual, Server/User Manual, and Server/Cloud API for .NET, WPF, Avalonia, WEB, Blazor, Angular, React, JS, PHP, Java, and Python platforms.

Persistent code index using Tree-sitter for fast, precise code search. Replaces grep with ~50 token responses instead of 2000+.

AmazingMCP — MCP Server for .NET / C# Codebases

An MCP server that gives AI agents deep understanding of C# codebases via Roslyn — type search, dependency graphs, usage analysis, and architecture overviews, all from a live in-memory compilation.

Search Apple's official developer documentation for iOS, macOS, SwiftUI, WWDC videos, and more.

Search Apple's Developer Documentation with smart search and wildcard support.

A platform-agnostic code analysis library with semantic search capabilities and MCP server support.

Enforce consistent C++ style and best practices across your codebase. Analyze naming conventions, memory safety, and const correctness, and get actionable modernization suggestions up to C++23. Accelerate reviews with ready-made prompts and quick access to curated guidelines.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.