This project is not covered by Drupal’s security advisory policy.
AI Report
Query your Drupal database using natural language - no SQL knowledge required!
Now with guardrails!
How it works
- Ask a question in plain English (e.g., "Show me all articles created this month")
- The AI generates and executes the SQL query for you
- View your data in a formatted table
👇 See it in action below 👇

Features
- Natural language to SQL query generation
- AJAX-powered real-time results
- Security-first: Only SELECT queries allowed
- Configurable AI models and prompts
- Database structure and content type awareness
- Debug mode to view generated SQL and AI responses
Requirements
- Drupal 9, 10, or 11
- AI module
- Configured AI provider (OpenAI, Anthropic, etc.)
Quick Start
- Enable the module:
drush en ai_report -y - Assign permissions at: People → Permissions
- Access AI Reports: For users who will generate reports
- Administer AI Reports: For administrators only
- Configure at: Configuration → AI → AI Report
- Use at: Reports → AI Report
Example Questions
- "Show me the 10 most recent users"
- "List all published articles with their authors"
- "Find all content updated this week"
- "Count how many nodes of each type exist"
Supporting organizations:
funding
Project information
Seeking new maintainer
The current maintainers are looking for new people to take ownership.- Project categories: Artificial Intelligence (AI)
- Ecosystem: AI (Artificial Intelligence)
- Created by wouters_f on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
1.0.0-alpha1
released 28 October 2026
Works with Drupal: ^10 || ^11 || ^12
Install:
Development version: 1.0.x-dev updated 28 Oct 2026 at 15:50 UTC


