Skip to main content
Glama

ReadyOrAI

ローカルコード検査のためのゼロコストMCPサーバー。クリーンコードの実践、ベストプラクティスについてコードを分析し、実行可能な推奨事項を提供します。コードを変更したり、API呼び出しを行ったりすることはありません。

特徴

  • 9つのアナライザー: 複雑度、命名、構造、パターン、インポート、ドキュメント、セキュリティ、重複、AI生成コード検出

  • マルチ言語: JS/TS、Python、Go、Rust(詳細分析)+ Java、C#、Ruby、PHPなど(正規表現ベース)

  • ゼロコスト: すべての分析はローカルで実行 — APIキー不要、外部呼び出しなし

  • MCPサーバー: stdioトランスポートを介してClaude Desktop、Claude Code、VS Codeで動作

  • CLIツール: スタンドアロン使用のためのready @filenameおよびAIターミナルコマンド

  • SARIF出力: GitHub Code Scanning統合のための結果エクスポート

  • ウォッチモード: ファイル変更時の継続的な再分析

  • ベースライン/差分モード: 段階的な導入を追跡 — 新しい問題のみを表示

  • 設定ファイル: 共有設定のためのプロジェクトレベルの.readyorai.json

  • インライン抑制: // readyorai-ignoreコメントで特定の検出結果を非表示

Related MCP server: Risk Audit MCP

インストール

MCPサーバーとして

Claude Desktopclaude_desktop_config.json):

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

Claude Code:

claude mcp add readyorai -- npx -y readyorai

VS Code.vscode/mcp.json):

{
  "servers": {
    "readyorai": {
      "command": "npx",
      "args": ["-y", "readyorai"]
    }
  }
}

CLIツールとして

npm install -g readyorai

CLIの使用方法

ready @src/index.ts                          # Inspect a single file
ready @src/                                  # Inspect a directory
ready @src/index.ts --checks security,naming # Run specific checks
ready @src/index.ts --json                   # JSON output
ready @src/index.ts --sarif                  # SARIF output (GitHub Code Scanning)
ready @src/index.ts --severity warning       # Only warnings and errors
ready @src/index.ts --watch                  # Re-analyze on file changes
ready @src/ --baseline baseline.json         # Compare against saved baseline
ready @src/ --save-baseline baseline.json    # Save current results as baseline
AI                                           # Inspect current directory
AI @src/utils.ts                             # Alias with file target

終了コード

コード

意味

0

問題なし

1

警告あり

2

エラーあり

3

実行時エラー

設定

プロジェクトのルートに.readyorai.jsonを作成します:

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

インライン抑制

特定の行の検出結果を非表示にする:

eval(code); // readyorai-ignore

MCPツール

ツール

説明

inspect_file

コード品質の問題について単一ファイルを分析

inspect_directory

ディレクトリ内のすべてのソースファイルの一括分析

get_metrics

定量的メトリクス(LOC、複雑度、関数数)を取得

compare_files

2つのファイルバージョンを比較し、修正済み、新規導入、または変更なしの検出結果を表示

suggest_fixes

各検出結果に対するコンテキスト付きの実行可能な修正提案を取得

MCPプロンプト

プロンプト

説明

review-code

オプションの焦点領域付きの構造化コードレビュー

health-check

プロジェクトレベルの健全性評価

チェック

チェック

検出内容

complexity

循環的/認知的複雑度、深いネスト

naming

命名規則違反、一文字変数、ブール接頭辞

structure

長いファイル/関数、パラメータ数过多、長い行

patterns

console.log、空のcatch、マジックナンバー、ネストされた三項演算子、TODO

imports

未使用インポート、ワイルドカードインポート、散在するインポート

documentation

JSDoc/docstringの欠落、低いコメント比率

security

ハードコードされたシークレット、eval()、SQLインジェクション、XSSパターン

duplication

重複コードブロック、繰り返されるマジック文字列

ai-detection

AI生成コードに共通するパターンを検出

言語サポート

ティア

言語

分析

1

JavaScript、TypeScript、Python、Go、Rust

完全なASTベースの分析

2

Java、C#、Ruby、PHP、Swift、Kotlin、C、C++

正規表現 + ヒューリスティック分析

3

任意のテキストファイル

行ベースのチェック(長さ、TODO、シークレット、重複)

開発

git clone https://github.com/TedoNeObichaJavaScript/ReadyOrAI.git
cd ReadyOrAI
npm install
npm run build
npm test

サポート

ReadyOrAIが役立つと感じたら、プロジェクトへのサポートを検討してください:

  • Borko — 5ユーロ

ライセンス

MIT

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables comprehensive code analysis including quality assessment, security vulnerability detection, refactoring suggestions, complexity calculations, and automatic documentation generation for multiple programming languages.
    5
    10
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables security scanning of code projects to identify common vulnerabilities like XSS, injections, SSRF, and path traversal issues. Provides local, offline scanning with severity-grouped results and actionable fix suggestions for improving code security.
    38
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI-powered code safety analysis including risk detection, secret scanning, dependency checking, and code snapshot management. Works offline for basic features with optional cloud integration for advanced ML analysis and team collaboration.
    9
    1
    Apache 2.0
  • A
    license
    A
    quality
    A
    maintenance
    Enables AI assistants and developers to analyze code for language-specific best practices and idiomatic patterns across programming languages, CI automation, and configuration formats.
    16
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • Generate SBOMs, scan vulnerabilities, and analyze dependencies from local projects or Git repos.

  • Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.

  • Enterprise code intelligence for M&A, security audits, and tech debt. Hosted server with 200k free.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TedoNeObichaJavaScript/ReadyOrAI'

If you have feedback or need assistance with the MCP directory API, please join our Discord server