Agents Index

Drupal Code Query

Online

Drupal core API changes, contrib usage, upgrade checks, patches, code search, SQL, WordPal themes.

Visit publisherConnectJSON

What it can do: 17 tools

  • check_patches read-onlyDoes each composer patch still apply to the release the site installed, and is its fix already in that release? - Send composer_json and composer_lock after composer update. Add patch_files for every patch, a local one r
  • describe_dataset read-onlyLearn the dataset before writing SQL for query_dataset. Call it with no arguments first. Returns text. Prefer a typed tool when one answers the question. - No arguments: one line per view, the join map, the four invarian
  • get_change_record read-onlyReturn one core change record in full: title, flavour, target version, machine-checkable tracks, linked issues, linked core symbols, and contrib adoption counts. To find records, use list_change_records or the change_rec
  • list_change_records read-onlyList the core change records (the human write-ups) that target a range of core versions, tagged by flavour and ranked, with counts. For the symbol-level diff, use what_changed. For one record in full, use get_change_reco
  • list_class_relations read-onlyList the contrib classes that extend, implement or use a core class, interface or trait, one row per edge with file and line, paged. Example: "who subclasses FormBase". Call-site counts: list_symbol_users. The symbol's s
  • list_projects read-onlyList drupal.org projects after filters, largest install base first, paged. Examples: "top modules without an 11.4 branch", "themes over 10k installs without security coverage". One project: project_profile. Its pending r
  • list_symbol_users read-onlyList every contrib project using one core symbol, or any symbol in a class of symbols, one row per project, paged, with the matched symbols. lookup_core_symbol answers one symbol with a head of 30. - Pass fqn, or filters
  • lookup_core_symbol read-onlyAnswer "is this core symbol safe to use, and who still uses it" for one symbol. A name that resolves to nothing returns the catalog entries containing it instead. Every user in pages: list_symbol_users. Changed between v
  • project_profile read-onlyAnswer "what is this contrib project, how big is it, which core versions does it support, what moves with it" for one drupal.org project. Pending change records: project_upgrade_report. Core symbols it calls: list_symbol
  • project_upgrade_report read-onlyAnswer "is this contrib project ready for a target core version, and what work is left". For one record's detail, use get_change_record. For a symbol's users, use list_symbol_users. - A record applies when it targets the
  • query_dataset read-onlyRun read-only DuckDB SELECTs over the dataset behind the other tools, for a question none of them asks. Call describe_dataset first; it lists the 36 views, their columns, joins and recipes. Prefer a typed tool when one f
  • reroll_patch read-onlyRe-roll one composer patch that check_patches reported conflicts or fuzzy: a new diff that applies to the installed release. Call check_patches first for the whole list. Call this once per patch that came back conflicts
  • scan_composer read-onlyWhich of a site's drupal/* packages need a new release for a target core, and which have none? Send composer.lock and composer.json once; do not query one package at a time. The answer is the release scan for every packa
  • search_code read-onlySearch the source of every indexed contrib project, plus core, for a code pattern: which files, or with by_repo which projects. Who-uses-a-core-symbol counts: list_symbol_users or lookup_core_symbol. - query is a regex.
  • subsystem_coupling read-onlyAnswer "what else tends to fail when a merge request touches this core subsystem" from CI history over about 9,000 core merge requests. With issue_nid: "which subsystems does this issue touch, and what co-fails with them
  • what_changed read-onlyAnswer "what changed in the core API between two core versions": symbols added, deprecated and removed, as ranked groups with counts. One symbol: lookup_core_symbol. Human write-ups: list_change_records. Every row of one
  • wordpal_theme read-onlyAnswer "does this WordPress block theme convert to Drupal with WordPal". The WordPal gallery converts every block theme on wordpress.org each night. With slug: one theme and its routes. Without slug: counts by status and

Connect it

Claude Code
claude mcp add --transport http drupal-code-query https://mcp.tresbien.tech/mcp
Claude.ai / ChatGPT
Settings → Connectors → Add custom connector
URL: https://mcp.tresbien.tech/mcp
Cursor (~/.cursor/mcp.json)
{
  "mcpServers": {
    "drupal-code-query": {
      "url": "https://mcp.tresbien.tech/mcp"
    }
  }
}
VS Code (.vscode/mcp.json)
{
  "servers": {
    "drupal-code-query": {
      "type": "http",
      "url": "https://mcp.tresbien.tech/mcp"
    }
  }
}

Questions

What does Drupal Code Query do?

Drupal core API changes, contrib usage, upgrade checks, patches, code search, SQL, WordPal themes. It exposes 17 tools to AI assistants.

What tools does Drupal Code Query provide?

17 tools, including check_patches, describe_dataset, get_change_record, list_change_records, list_class_relations, list_projects, list_symbol_users, lookup_core_symbol, project_profile, project_upgrade_report, query_dataset, reroll_patch….

How do I connect Drupal Code Query to Claude, ChatGPT or Cursor?

Add the remote MCP endpoint https://mcp.tresbien.tech/mcp as a custom connector or MCP server. Copy-paste setup is on this page.

Does Drupal Code Query require an account or API key?

No sign-in was needed to list its tools. Individual tools may still need an account or API key.

Is Drupal Code Query online?

As of 2026-11-19 our probe found it online. It answered 100% of our last 3 checks.

Who publishes Drupal Code Query?

tresbien.tech. The official MCP Registry verified that the publisher controls this domain before accepting the listing.

Similar in Databases & Data