mcpField
R
Ranuk Web Accessibility & AST Security Auditor

Ranuk Web Accessibility & AST Security Auditor

Remote
github.com/RanuK12Developer Tools0Updated 1d ago
Repository

About Ranuk Web Accessibility & AST Security Auditor

ADA-Audits is a command-line auditor for Python projects and notebooks. It checks for data accessibility issues, missing docstrings, and type hints, then produces reports for developers and CI/CD workflows.

Key features

  1. 01Scans Python files and notebooks
  2. 02Finds accessibility issues
  3. 03Checks docstrings and type hints
  4. 04Creates audit reports
  5. 05Integrates with CI/CD pipelines

Use cases

  1. 01Audit a Python source directory
  2. 02Check notebooks for accessibility issues
  3. 03Generate a Markdown, JSON, or HTML report
  4. 04Run audits in a CI/CD pipeline

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://audit.ranuk.dev/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

Details

From the project README

ADA-Audits

Automated Data Accessibility Audits for Python projects.

📌 Features

  • Scans Python files and notebooks for data accessibility issues
  • Detects missing docstrings, type hints, and accessibility standards
  • Generates reports with actionable insights
  • Integrates with CI/CD pipelines

🚀 Quick Start

Follow these steps to get started with ADA-Audits:

Step 1: Installation

Using pip:

# Clone the repository
git clone https://github.com/your-org/ada-audits.git
cd ada-audits

# Install in development mode
pip install -e .

Using Poetry:

# Clone the repository
git clone https://github.com/your-org/ada-audits.git
cd ada-audits

# Install dependencies with Poetry
poetry install

# Activate the virtual environment
poetry shell
Step 2: Create Configuration File

Create a .ada-audit.yml file in your project root:

# .ada-audit.yml - Minimal working configuration
targets:
  - src/
  - notebooks/

rules:
  - missing-docstring
  - missing-type-hint
  - accessibility-issue

output:
  format: markdown
  file: audit-report.md
Step 3: Run Your First Audit

Scan a single file:

ada-scan path/to/file.py

Expected output:

✓ Scanning: path/to/file.py
Found 3 issues:
  [WARNING] line 15: Missing docstring for function 'process_data'
  [WARNING] line 23: Missing type hint for parameter 'input_path'
  [ERROR]   line 45: Accessibility issue - missing alt text for image

Scan an entire directory:

ada-scan src/

Expected output:

✓ Scanning directory: src/
Found 12 files to analyze
  src/__init__.py .............. OK
  src/main.py .................. 2 issues
  src/utils.py ................. 5 issues
  src/processors/base.py ....... 1 issue
  src/processors/transform.py .. 4 issues

Summary: 12 issues found across 4 files

Generate a full report:

ada-audit --output report.md

Expected output:

✓ ADA Audit Report Generated
  Output: report.md
  Total files scanned: 12
  Issues found: 15
  Compliance score: 78%

📖 Usage

Command Line Interface
CommandDescription
ada-scan <path>Scan a file or directory for accessibility issues
ada-auditGenerate a full audit report based on configuration
ada-audit --output <file>Generate report with custom output filename
ada-audit --format <fmt>Output format: markdown, json, or html
Configuration Reference

Full configuration options for .ada-audit.yml:

# Paths to scan
targets:
  - src/              # Python source files
  - notebooks/        # Jupyter notebooks
  - tests/            # Test files

# Rules to apply
rules:
  - missing-docstring      # Functions/classes without docstrings
  - missing-type-hint      # Parameters without type annotations
  - accessibility-issue    # Accessibility standard violations

# Output settings
output:
  format: markdown         # Options: markdown, json, html
  file: audit-report.md   # Output filename

# Optional: Exclude patterns
exclude:
  - "**/__pycache__/**"
  - "**/migrations/**"

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/your-feature)
  3. Commit your changes (git commit -m 'feat: add new rule [ranukita:xxxxx]')
  4. Push to the branch (git push origin feature/your-feature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.