whereismyai
LLMSchema
LLMSchema is a command-line tool that extracts database schemas into concise Markdown documentation for AI agents.
LLMSchema is a command-line tool and Go library that extracts database schemas into concise Markdown documentation for AI coding agents and LLMs. It supports PostgreSQL, MySQL, and SQLite databases, capturing tables, columns, types, indexes, constraints, and relationships. Users can output a single portable document with an index or generate multiple files with one overview and separate files per table. The tool helps AI agents understand the data model efficiently without overwhelming their context window. It also offers table filtering, exclusion options, and integration with CI or migration scripts.
LLMSchema at a glance
- Best for: Software engineer
- Runs on: CLI, macOS, Linux, API
- Pricing: Free
- Released: October 2026
- Category: AI coding tool
- Website: github.com/tordrt/llmschema
Key features
- Extracts schemas into concise Markdown
- Supports PostgreSQL, MySQL, and SQLite
- Generates single-file or multi-file documentation
- Includes table filtering and exclusion
- Omit or include table index and database info
- Tracks generated files with a hidden manifest
- Available as a CLI tool and Go library
Use it for
- Provide database schemas to AI coding agents
- Generate per-table Markdown files for targeted agent work
- Automate schema documentation updates in CI or migrations
- Maintain purpose-specific schema subsets with table filters
Alternatives to LLMSchema
- llmware — Build private, local RAG pipelines with 300+ prepackaged models and integrated document parsing.
- LMQL — It enables modularized, constraint-based prompting with portable code.
- LMDeploy — Accelerates inference with high-performance engines and quantization tools.
- Tabularis — Combines a full-featured human SQL editor with a built-in Model Context Protocol server.
- llm-d — Deploys production-grade LLM serving on existing hardware clusters.
- jevgrep — Reduces coding agent costs by providing targeted, relevant repository context.
- Limma — It answers queries with complete sets and proof instead of partial search fragments.
- DBX — It combines lightweight size, open-source access, and built-in AI for over one hundred databases.
- Codebase Memory MCP — High-speed indexing and persistent knowledge graphs for AI coding agents.
- memsearch — It shares continuous context across Claude Code, Codex, and other AI coding agents.
- Enzyme — It indexes markdown notes locally so AI coding agents can cite them.
- Shim — It offers zero runtime dependencies, no telemetry, and a static binary.
All LLMSchema alternatives