# readyorai [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/TedoNeObichaJavaScript/ReadyOrAI  
**GitHub Stars:** 1  
**npm Downloads (last month):** 297  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/readyorai

## Description
Zero-cost MCP server for local code inspection and best-practice recommendations

## Tools
Capabilities this server exposes over MCP:

- **inspect_file** — Analyze a single file for code quality issues
- **inspect_directory** — Batch analysis of all source files in a directory
- **get_metrics** — Get quantitative metrics (LOC, complexity, function count)
- **compare_files** — Compare two file versions and show fixed, introduced, or unchanged findings
- **suggest_fixes** — Get actionable fix suggestions with context for each finding

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "readyorai": {
    "command": "npx",
    "args": ["-y","readyorai"]
  }
}
```

## Documentation

## What the readyorai MCP server does

The readyorai MCP server gives an MCP-compatible coding assistant access to local code inspection. It evaluates files and directories for issues related to complexity, naming, structure, imports, documentation, security, duplication, recurring code patterns, and indicators associated with AI-generated code. Results are recommendations and findings; the analyzer does not edit the inspected source.

Analysis depth depends on the language. JavaScript, TypeScript, Python, Go, and Rust use full AST-based analysis. Java, C#, Ruby, PHP, Swift, Kotlin, C, and C++ use regular-expression and heuristic checks. Other text files can still receive line-oriented checks such as line-length, TODO, secret, and duplication detection.

## How it works

The readyorai MCP server runs locally through the stdio transport. It does not make external API calls and does not require an API key. An MCP client starts the package with `npx -y readyorai`, then sends requests to the available inspection tools.

Project behavior can be shared through a `.readyorai.json` file. The configuration can select checks, set a severity threshold, and exclude paths such as build output or dependency directories. Specific findings can also be suppressed inline with a `readyorai-ignore` comment.

The underlying project also supports standalone command-line use. The `ready` command accepts file or directory targets, while `AI` provides an alternate terminal command for inspecting the current directory or a specified path. CLI features include JSON and SARIF output, watch mode, severity filtering, and saved-baseline comparisons.

## Setup and configuration

For Claude Desktop or VS Code, add a server entry that runs `npx` with the `-y readyorai` arguments. Claude Code can register the same command with `claude mcp add readyorai -- npx -y readyorai`. These configurations start the readyorai MCP server on demand and do not require environment variables.

A project configuration file can look like this:

```json
{
  "checks": ["complexity", "naming", "security"],
  "severity": "warning",
  "exclude": ["dist/**", "node_modules/**"]
}
```

For CLI-only use, install the package globally with `npm install -g readyorai`. The repository can also be built from source with npm after cloning it and installing its dependencies.

## Tools and capabilities

The MCP tool set includes:

- `inspect_file` for analyzing one file.
- `inspect_directory` for processing source files in a directory.
- `get_metrics` for lines of code, complexity, and function counts.
- `compare_files` for identifying fixed, introduced, and unchanged findings between two file versions.
- `suggest_fixes` for producing contextual, actionable recommendations.

Two MCP prompts are also documented: `review-code`, which supports a structured review with an optional focus area, and `health-check`, which assesses project-level health.

## Limitations and notes

Analysis is local and read-only, so recommendations do not automatically change source files. Results can vary by language tier: only the five Tier 1 languages receive full AST-powered analysis, while Tier 2 relies on regex and heuristics and Tier 3 provides line-based checks.

The project includes nine analyzer areas, but findings are rule-based recommendations rather than a replacement for tests or human review. Inline suppression, exclusions, severity settings, and baselines can narrow the reported results when a project needs incremental adoption. The repository states that the project is released under the MIT license.

_Full upstream README: https://allmcps.com/mcp/readyorai/readme_

