drizzle-docs-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | HTTP bind address. | 0.0.0.0 |
| PORT | No | HTTP port. | 3000 |
| MCP_PATH | No | HTTP MCP endpoint path. | /mcp |
| DOCS_BASE_URL | No | Docs site (or your own mirror) to read. | https://orm.drizzle.team |
| MCP_TRANSPORT | No | Transport to use: "stdio" or "http" (same as --http). | stdio |
| DOCS_CACHE_TTL_MS | No | How long a page/index stays cached, in milliseconds. | 3600000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Read-only access to the official Drizzle ORM documentation (orm.drizzle.team). Nothing here writes, changes or executes anything — every answer comes from the live docs.
Typical flow:
search_docs to find the page: depth "index" when you just need the right page, depth "full" when you need the actual content (it returns a snippet).
fetch_page with that slug to read the whole page as Markdown (use
sections/maxLengthto keep it small).list_topics when the user asks what documentation exists — no arguments gives the dialect + section map, a
dialect/sectiongives the pages in it.
Slugs look like "docs/pg/select". Dialects: pg, mysql, sqlite, mssql, cockroach, singlestore.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_topicsA | Browse the Drizzle ORM documentation catalogue (source: /llms.txt — about 450 pages). Call it with NO arguments first to get the map: every SQL dialect, every section, and how many pages each one holds. Then add |
| search_docsA | Search the Drizzle ORM documentation. depth "index" (default) fuzzy-searches titles, slugs and sections from /llms.txt — instant, use it to pick the right page. depth "full" downloads /llms-full.txt once (a few MB) and searches the actual page text, returning a |
| fetch_pageA | Fetch one Drizzle ORM documentation page as clean Markdown (navigation, sidebars and footers are stripped). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool occupies a distinct step of the docs workflow: list_topics browses the catalogue, search_docs finds matches, fetch_page retrieves a page. The descriptions explicitly state the handoff (list_topics/search_docs produce slugs for fetch_page), leaving no realistic chance of misselection.
All three names follow a strict verb_noun snake_case pattern (list_topics, search_docs, fetch_page). The verbs are also semantically accurate to the actions performed.
Three tools is the minimum viable surface for document discovery, retrieval and search, and each earns its place without redundancy. Nothing feels missing or bolted on for a documentation-lookup server.
The discover → search → fetch lifecycle is fully covered, including pagination, dialect/section filtering, section-level extraction and cache bypass. Minor gaps remain, such as no batch multi-page fetch and no direct way to enumerate a single page's full heading tree before fetching.