Skip to main content

Drupal Scout

Search for Drupal module entries with transitive core version requirements to help to upgrade the Drupal Core.

Installation

Using uv (Recommended)

uv tool install drupal-scout

Or run directly without installing:

uvx drupal-scout --help

Using pip

pip install drupal-scout

Quick Start

Get a compatibility report for your current Drupal project:

drupal-scout

Scan a specific module for Drupal 11 compatibility:

drupal-scout --core 11.0.0 --modules drupal/webform

Features

  • Asyncio Concurrency: High-performance parallel module scanning using asyncio to speed up dependency analysis.
  • Rich TUI Integration: Beautiful terminal output with structured tables and real-time progress bars powered by the rich library.
  • MCP Server Support: Built-in Model Context Protocol server for integration with AI IDEs (like Claude Desktop or Cursor).
  • Environment Diagnostics: Quick self-diagnostic check of the environment and dependencies using the info command.
  • Multiple Output Formats:
    • table: High-fidelity color-coded table for human readability.
    • json: Machine-readable raw data for automation scripts.
    • suggest: Generates a suggested composer.json with updated version requirements.

Limitations

  • Python 3.11+: The application requires Python 3.11 or higher.
  • Composer v2: The application works with Composer-based (Composer v2) Drupal 8+ projects.

Usage/Examples

drupal-scout [-h] [-v] [-d DIRECTORY] [-n] [-l LIMIT] [-f {table,json,suggest}] [-s] [-c CORE] [-m MODULES [MODULES ...]] {info} ...

Arguments

  • -h, --help: Show help message and exit.
  • -v, --version: Show program's version number and exit.
  • -d DIRECTORY, --directory DIRECTORY: Directory of the Drupal installation (default: .).
  • -n, --no-lock: Do not use the composer.lock file to determine installed versions.
  • -l LIMIT, --limit LIMIT: Concurrency limit for async requests. Default is 10.
  • -f {table,json,suggest}, --format {table,json,suggest}: Output format (default: table).
  • -s, --save-dump: Use with --format suggest to save the suggested composer.json to disk.
  • -c CORE, --core CORE: Optional Drupal core version override (e.g., 10.0.0).
  • -m MODULES [MODULES ...], --modules MODULES [MODULES ...]: Scan only specific modules, skipping full project discovery.

Subcommands

  • info: Show diagnostic information about the tool, jq availability, and the current Drupal environment.

MCP Server Usage

To use Drupal Scout as an MCP server in your AI assistant:

drupal-scout-mcp

Or with uvx:

uvx --from drupal-scout drupal-scout-mcp

Targeted Scan Examples

Scan one specific module with an explicit core version:

drupal-scout --core 10.0.0 --modules drupal/webform

Scan multiple modules and output JSON:

drupal-scout --core 10.0.0 --modules drupal/webform drupal/ctools --format json

Scan modules with auto-detected core from a local directory:

drupal-scout --directory /path/to/drupal --modules drupal/webform

Metadata

Release files for drupal-scout 3.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drupal-scout 3.0.3
File Size Uploaded
drupal_scout-3.0.3.tar.gz 31.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for drupal-scout 3.0.3
File Interpreter ABI Platform
drupal_scout-3.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 70.1 kB

Release files / drupal_scout-3.0.3.tar.gz

Download URL drupal_scout-3.0.3.tar.gz
Size 31.4 kB
Tags Source
SHA-256 checksum
How to use checksums
30c021ec4fffd82417d52cfcae0411f431ceba486b83fce4f8673e3395896f7b
BLAKE2b-256 checksum
How to use checksums
6561c6845a6acefda6d9185aa29c6cf618d904068ec30fb365dc830f7baace36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.

Transparency log

Release files / drupal_scout-3.0.3-py3-none-any.whl

Download URL drupal_scout-3.0.3-py3-none-any.whl
Size 38.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96f7e4bd55dc2c6e3a85e99bc5e363cd9d8ec04fad55388ee29120e888fccdf8
BLAKE2b-256 checksum
How to use checksums
28ffdbb858e9503f69a76fd1e69fff1a394ee7f9f697616d6c3759d1caef6f6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.

Transparency log

Release history Release notifications | RSS feed

3.1.2

2 release files

3.1.1

2 release files

3.1.0

2 release files

This release

3.0.3 This release

2 release files

3.0.2

2 release files

3.0.1

2 release files

3.0.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page