All guides Drupal + AI

Drupal AI Search and SEO: Which Modules to Use

How to add AI search and AI-assisted SEO to Drupal with Search API, AI Search, Metatag AI and Schema.org Metatag. Every module linked to its drupal.org page, with maturity noted.

9 min read · Updated November 1, 2026

“Drupal AI search” and “Drupal AI SEO” get lumped together, but they are two different jobs. AI search is about helping visitors find content on your site, using embeddings instead of exact keyword matching. AI SEO is about helping search engines and AI assistants understand and recommend your pages: titles, descriptions, structured data, sitemaps.

Drupal has contributed modules for both, and most of them build on two foundations: Search API for search and the Metatag module for SEO tags. This guide lists the modules that exist, what each does, and how mature each was when we checked drupal.org on 25 October 2026. Maturity changes quickly, so check the project page before you commit.

The short version

JobModuleWhat it gives youStatus when checked (25 Oct 2026)
Search frameworkSearch APIIndexing and search on any entity, with Views integration and facetsStable 8.x-1.42, Drupal 10, 11 and 12
Keyword search backendSearch API SolrApache Solr backend for Search APIStable. The project page says native dense-vector support has not landed
Faceted filtersFacetsFacet filters on search resultsStable 3.0.x for Search API
Semantic searchAI SearchVector (embedding) search as a Search API backendAlpha releases listed; 1.x branch recommended for production by the project page
Answer boxAI powered Search BlockLLM answers drawn only from your Search API index, each linking to its sourcesRelease candidate (1.1.0-rc02, checked 1 Nov 2026); no stable release
Meta tagsMetatagTitle, description, canonical, Open Graph and Twitter Card tagsStable 2.2.1, Drupal 10, 11 and 12
AI meta tagsMetatag AIGenerates title tags and meta descriptions from a node’s title and bodyStable 2.0.5 (Drupal 11)
Structured dataSchema.org MetatagJSON-LD in the page head (Article, Event, Product, Recipe, WebSite and more)Stable 3.1.0
SitemapsSimple XML sitemapMultilingual and image sitemaps, IndexNow submissionStable 4.2.x

Start with Search API

Almost every Drupal search project runs through Search API, which indexes any entity and lets you pick a backend. Its built-in database backend is intended mainly for testing and smaller sites; for larger sites the project page points to Apache Solr or Elasticsearch. If your content is already indexed in Search API, adding semantic search is an additional backend and index, not a rebuild.

Keyword search (Database, Solr)Semantic search (AI Search)
Matches onThe words in the queryThe meaning of the query, through embeddings
Extra infrastructureNone, or a Solr serverAn embedding model plus a vector database
Query costServer resourcesServer resources plus embedding calls
IndexingFastSlower, because each item is sent to an embedding model
Good forExact names, codes, titlesNatural-language questions and synonyms
ExplainabilityEasy to see why a result matchedHarder to explain a ranking

Neither replaces the other. The AI Search project page describes boost plugins for Search API Database and Search API Solr so keyword and vector results can be combined in a hybrid setup, which is where we would start for a site with both product codes and long-form content.

AI Search began as a sub-module of the AI project and is now standalone. It provides a Search API backend for vector databases. According to its project page the supported vector databases include Postgres, Pinecone, Milvus, MariaDB, OpenSearch, Azure, SQLite, Qdrant and Weaviate, and it can feed retrieval-augmented generation (RAG) for chatbots and assistants.

It also needs the AI module and a provider module for the embedding model. See our explainer on the Drupal AI module for how those pieces fit together.

Two honest caveats from the project page: at the time we checked it listed no stable release (the newest was 1.3.0-alpha5; on 1 November 2026 the page listed 1.3.0-alpha6 for AI core 1.x and 2.0.0-alpha3 for AI core 2.x, both from 28 October), and it recommends the 1.x branch for production sites while the 2.x branch waits on AI core 2.x. That does not make it unusable, since a lot of Drupal modules run in production on pre-stable releases, but it means someone has to own upgrades.

AI powered Search Block adds a search box that answers a visitor’s question with an LLM-written response, and each answer links to the pages it used. Per its project page, the model only sees content from your index rather than answering from general knowledge, and a score threshold decides whether there is enough content to answer; otherwise it shows a fallback message you write. It requires Search API, the AI module with both an embedding and a chat model, and a vector database (the page names Postgres pgvector and Milvus). On 1 November 2026 the page listed 1.1.0-rc02 (28 October) as the latest release, with “no supported stable releases”.

If the goal is a conversational assistant rather than a search box, that is a different build; see our guide to a Drupal AI chatbot.

Where headless changes things

On a decoupled Drupal site the search UI lives in the front end, but the index does not move. Search API still indexes the content; your Next.js or Astro app calls an endpoint (Views REST, JSON:API, or your own route) and renders the results. The block modules above are Drupal blocks, so on a headless build you would call the underlying services and render the answer yourself. Plan that work in the estimate.

Search API AI, and which module name you actually want

People searching for Drupal Search API AI are usually looking for one of three things, and the names overlap:

You may have seenWhat it is nowUse instead
Search API AI (an older module)Deprecated. The AI Search page says it and OpenAI Embeddings were deprecated when they merged into AI SearchAI Search
The AI Search sub-module inside AI core 1.xDeprecated; the project page says it receives only critical bug fixes. The AI 1.5.0 release notes include “Deprecate ai_search”The standalone AI Search project
Search APIThe framework everything above plugs into. Not AI by itselfKeep it; AI Search is a backend for it

AI Search is the thing to evaluate. The page lists these vector databases: Milvus, Pinecone, Postgres, MariaDB, OpenSearch, Azure, SQLite, Qdrant and Weaviate, plus an Opensolr Search AI submodule. It requires Search API, the AI module (core 1.x or 2.x matching your branch) and a vector database. On 1 November 2026 it showed 686 reported sites and no stable release.

Part 2: AI and SEO

Drupal AI SEO: what the modules do and do not do

“AI SEO” in Drupal is a short list of jobs. Only the first is generative.

SEO jobModuleAI involved?
Draft title tags and meta descriptionsMetatag AIYes, through your AI provider
Output the tagsMetatagNo
Give crawlers explicit facts as JSON-LDSchema.org MetatagNo
Publish and submit sitemapsSimple XML sitemapNo
Summaries, title ideas, tag suggestionsAI Content SuggestionsYes, in the editor form

Meta tags with Metatag and Metatag AI

Metatag sets titles, descriptions, canonical URLs, Open Graph and Twitter Card tags with global, per-bundle and per-entity defaults. The core Metatag module has no AI features.

Metatag AI (from Promet Source) adds generation of title tags and meta descriptions from a content item’s title and body. Its 2.x branch uses the Drupal AI module and your chosen provider; the older 1.x branch talks to a provider directly and no longer receives updates. Its FAQ reports consistent errors on free OpenAI accounts in the developers’ tests and better results on a paid account.

How we would use it: generate drafts for editors to approve, not a silent bulk rewrite of every page. A generated description is only as good as the page it summarises, and “unique, accurate and written for the click” is still a human editorial standard.

Structured data with Schema.org Metatag

Schema.org Metatag extends Metatag to output JSON-LD structured data in the page head, for types including Article, Event, Product, Recipe and WebSite. Values come from tokens, which the project page recommends configuring globally rather than asking editors to type them. This is not an AI module, but structured data is the part of “AI SEO” you control most directly: it gives crawlers, including AI assistants’ crawlers, explicit facts instead of leaving them to infer.

Sitemaps

Simple XML sitemap generates multilingual and image sitemaps and, through its simple_sitemap_engines submodule, supports IndexNow submissions for content changes.

Editorial AI around SEO

AI Content Suggestions adds in-form tools: summarise, suggest title, suggest taxonomy tags, alter tone, evaluate readability and moderate content. Its project page does not list meta-description generation; use Metatag AI for that.

What we would not promise

  • Rankings. No module makes a page rank. These tools reduce editorial effort and make pages easier to understand; the content still has to be worth finding.
  • Free-tier reliability. Metatag AI’s own FAQ says free OpenAI accounts produced errors for its developers. Budget for a paid provider account.
  • Stable-release maturity for the semantic search modules. AI Search and AI powered Search Block both carried pre-stable labels when we checked.
  • Zero maintenance. Embeddings need re-indexing when content changes and when you change embedding models.

A sensible rollout order

  1. Fix the basics first. Metatag defaults, Schema.org Metatag for your main content types, a sitemap.
  2. Add Metatag AI for editors if you have many pages with missing or duplicate descriptions, with approval before publish.
  3. Move to Search API + a keyword backend if you are still on core search.
  4. Pilot AI Search on one content type with a vector database you can operate, and measure result quality against real queries before rolling it out.
  5. Only then consider an answer box, with a fallback message and a logging plan.

Want an honest read on whether AI search is worth it for your site? Tell us about your project, or read about our Drupal AI work.

Building something decoupled?

We'll give you an honest read on whether decoupled Drupal is the right call for your project.

Start a conversation