LLMSchema
LLMSchema generates Markdown documentation of database schemas for LLMs and AI agents.
What LLMSchema is
LLMSchema generates Markdown documentation of database schemas for LLMs and AI agents. It extracts schemas from PostgreSQL, MySQL, and SQLite, documenting tables, columns, types, indexes, constraints, and relationships. By default, it writes one portable Markdown document; an alternate layout produces an overview plus a separate file for each table. Users can include selected tables or exclude others.
The project is available as a command-line tool and a Go library. Its README describes adding schema generation to a Makefile or migration script to refresh documentation, and suggests telling a coding agent where the files are located in AGENTS.md, CLAUDE.md, or an equivalent instruction file. Installation instructions cover Go, with a quick install script for macOS and Linux. LLMSchema is self-hosted, MIT-licensed software, listed for Linux, macOS, and Windows, and costs nothing. The maker intends it for development databases and cautions against relying on it for production-critical documentation. Views, materialized views, PostgreSQL triggers and functions, and table and column comments are listed as areas to explore.
Good
- Documents three relational database systems
- Can produce a single document or per-table files
- Supports table inclusion and exclusion
- Available as a CLI and Go library
Watch out
- Not intended for production-critical documentation
- Views and materialized views are areas to explore
- PostgreSQL triggers and functions are areas to explore
Who it suits
LLMSchema suits developers using AI-assisted coding who want schema documentation for PostgreSQL, MySQL, or SQLite development databases. It is available to teams that prefer a command-line tool or Go library.
Verdict
LLMSchema can generate focused Markdown schema references for development workflows. Its maker specifically warns against relying on it for production-critical documentation.
Plans and prices
From LLMSchema's own pricing page, checked 8 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Free (MIT-licensed software) | Free | CLI and Go library · PostgreSQL, MySQL, SQLite |
The facts
Each one read from LLMSchema's own pages, with the date it was checked.
What it does
- AI agent setup
- The README suggests telling a coding agent where the schema docs are located in AGENTS.md, CLAUDE.md, or an equivalent instruction file.checked 8 Oct 2026
- Contribution and support
- The README invites contributions through issues and pull requests and suggests opening an issue first for larger features.checked 8 Oct 2026
- Developer interface
- LLMSchema is available as a command-line tool and a Go library.checked 8 Oct 2026
- Feature gaps
- The README lists views and materialized views, PostgreSQL triggers and functions, and table and column comments as areas to explore.checked 8 Oct 2026
- Filtering
- Users can include selected tables or exclude tables from the generated documentation.checked 8 Oct 2026
- Installation
- The README provides Go installation instructions and a quick install script for macOS and Linux.checked 8 Oct 2026
- Integration
- The README shows adding schema generation to a Makefile or migration script to keep documentation up to date.checked 8 Oct 2026
- Intended use
- The maker describes the tool as intended for development databases to support AI-assisted coding and says not to rely on it for production-critical documentation.checked 8 Oct 2026
- Interfaces
- LLMSchema is available as a command-line tool and as a Go library.checked 8 Oct 2026
- License
- The repository identifies the project as MIT licensed.checked 8 Oct 2026
- Output
- It documents tables, columns, types, indexes, constraints, and relationships in Markdown.checked 8 Oct 2026
- Output formats
- It can produce one portable Markdown document or an overview with a separate Markdown file for each table.checked 8 Oct 2026
- Output options
- It writes one Markdown document by default and can optionally create an overview plus one file per table.checked 8 Oct 2026
- Purpose
- LLMSchema generates database schema documentation for LLMs and AI agents.checked 8 Oct 2026
- Schema details
- The generated documentation can include tables, columns, types, indexes, constraints, and relationships.checked 8 Oct 2026
- Security and reliability limit
- The README says the tool is intended for development databases and should not be relied on for production-critical documentation.checked 8 Oct 2026
- Supported databases
- It extracts schemas from PostgreSQL, MySQL, and SQLite.checked 8 Oct 2026
The company
- Maker
- The repository is published under the GitHub account tordrt, whose profile name is Tord.checked 8 Oct 2026
Money
- Pricing and trial
- The README provides installation instructions without listing paid plans or a trial.checked 8 Oct 2026
Alternatives to LLMSchema
- 1

MySQL
Free planAPILinuxmacOSSelf-hosted7.9Free plan - 2

Azimutt
Free planOpen sourceWebAPIExtensionLinux7.8From €7 a month - 3

DBDock
Free planOpen sourceWebAPILinuxmacOS7.5Free plan - 4

dbt Semantic Layer
Free planWebAPIExtension7.5From $100 a month - 5

DbSchema
Free planLinuxmacOSWindows7.0From $29.40 a month - 6

dbdocs
Free planWebLinuxmacOSWindows6.9From $20 a month
