MCPcopy Index your code
hub / github.com/liam-hq/liam

github.com/liam-hq/liam @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,938 symbols 6,341 edges 1,503 files 175 documented · 9% updated 2d ago@liam-hq/cli@0.7.24 · 2025-11-25★ 4,9233 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Liam ERD Liam ERD

Automatically generates beautiful and easy-to-read ER diagrams from your database.

DeepWiki Follow us on X, formerly Twitter

liam-hq%2Fliam | Trendshift

demo

WebsiteDocumentationRoadmap

What's Liam ERD?

Liam ERD generates beautiful, interactive ER diagrams from your database. Whether you're working on public or private repositories, Liam ERD helps you visualize complex schemas with ease.

  • Beautiful UI & Interactive: A clean design and intuitive features (like panning, zooming, and filtering) make it easy to understand even the most complex databases.
  • Simple Reverse Engineering: Seamlessly turn your existing database schemas into clear, readable diagrams.
  • Effortless Setup: Get started with zero configuration—just provide your schema, and you're good to go.
  • High Performance: Optimized for both small and large projects, easily handling 100+ tables.
  • Fully Open-Source: Contribute to the project and shape Liam ERD to fit your needs.

Quick Start

For Public Repositories

Insert liambx.com/erd/p/ into your schema file's URL:

# Original: https://github.com/user/repo/blob/master/db/schema.rb
# Modified: https://liambx.com/erd/p/github.com/user/repo/blob/master/db/schema.rb
                  👾^^^^^^^^^^^^^^^^👾

For Private Repositories

Run the interactive setup:

npx @liam-hq/cli init

Jack If you find this project helpful, please give it a star! ⭐
Your support helps us reach a wider audience and continue development.

Documentation

Check out the full documentation on the website.

Roadmap

See what we're working on and what's coming next on our roadmap.

Contributing

Refer to our contribution guidelines and Code of Conduct for contributors.

Contributors

Star History

Star History Chart

License

Liam ERD is licensed under the Apache License Version 2.0.

Licenses for third-party packages can be found in docs/packages-license.md.

Extension points exported contracts — how you extend this code

CSSProperties (Interface)
(no doc)
frontend/apps/app/types/css.d.ts

Core symbols most depended-on inside this repo

aColumn
called by 460
frontend/packages/schema/src/schema/factories.ts
aTable
called by 225
frontend/packages/schema/src/schema/factories.ts
aSchema
called by 171
frontend/packages/schema/src/schema/factories.ts
get
called by 131
frontend/internal-packages/agent/src/streaming/core/MessageTupleManager.ts
expectGeneratedSQLToBeParseable
called by 89
frontend/packages/schema/src/deparser/postgresql/testUtils.ts
anIndex
called by 74
frontend/packages/schema/src/schema/factories.ts
createClient
called by 62
frontend/apps/app/libs/db/server.ts
postgresqlSchemaDeparser
called by 48
frontend/packages/schema/src/deparser/postgresql/schemaDeparser.ts

Shape

Function 1,829
Method 72
Class 36
Interface 1

Languages

TypeScript100%

Modules by API surface

frontend/packages/schema/src/parser/sql/postgresql/converter.ts46 symbols
frontend/packages/schema/src/parser/schemarb/parser.ts35 symbols
frontend/packages/schema/src/deparser/postgresql/migrationOperationDeparser.ts33 symbols
frontend/packages/schema/src/parser/prisma/parser.ts29 symbols
frontend/packages/schema/src/deparser/postgresql/utils.ts26 symbols
frontend/apps/app/components/MarkdownContent/MarkdownContent.tsx24 symbols
frontend/internal-packages/agent/src/checkpoint/SupabaseCheckpointSaver.ts23 symbols
frontend/apps/app/components/SessionDetailPage/components/Chat/components/Messages/AiMessage/ToolCalls/ToolCallCard/components/Call/ArgumentsDisplay/utils/formatArguments.ts22 symbols
frontend/packages/ui/src/components/Sidebar/Sidebar.tsx20 symbols
frontend/internal-packages/schema-bench/src/workspace/evaluation/evaluation.ts19 symbols
frontend/packages/cli/src/cli/errors.ts18 symbols
frontend/packages/schema/src/parser/tbls/parser.ts14 symbols

Dependencies from manifests, versioned

@biomejs/biome2.2.6 · 1×
@changesets/cli2.29.7 · 1×
@changesets/get-github-info0.6.0 · 1×
@changesets/types6.1.0 · 1×
@codemirror/lang-sql6.10.0 · 1×
@codemirror/lint6.9.0 · 1×
@codemirror/state6.5.2 · 1×
@codemirror/view6.38.6 · 1×
@css-modules-kit/eslint-plugin0.3.0 · 1×
@eslint/compat1.4.0 · 1×

For agents

$ claude mcp add liam \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact