GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Shape-aware query language for structured data — JSON, YAML, TOML, HCL, CSV, Markdown.
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
用 Lambë 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Lambë,或回答中出现 Lambë 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Lambë
Lambë 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 Lambë 的应用
B · 开发者工具 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
Claude Code 暂时无法连接 Lambë
开发者只提供了电脑版 Claude 应用的安装文件
A · 使用能连接 Lambë 的应用
Cursor 暂时无法连接 Lambë
开发者只提供了电脑版 Claude 应用的安装文件
A · 使用能连接 Lambë 的应用
VS Code 暂时无法连接 Lambë
开发者只提供了电脑版 Claude 应用的安装文件
A · 使用能连接 Lambë 的应用
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月15日
注册名称已通过 GitHub 账户 hakimjonas 验证,该账户拥有此仓库
代码最后更新于2个月前
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于2个月前,最新版本(0.14.0)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB。
同一分类中有:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
*A query language for structured data that shows you what you're working with.*
lam queries JSON, YAML, TOML, HCL, CSV, TSV, and Markdown. Unlike other query tools, it tells you what your query *does* before you run it — the shape at each pipe stage, which output formats can serialize the result, what would go wrong.
Use it when you don't already know the data: inspecting an unfamiliar API response, auditing a Helm chart, verifying a CI pipeline's assumptions, or asking an AI agent to extract something without guessing at the structure.
$ lam --to toml '.dependencies | keys' pubspec.yaml
Error: TOML output requires a map at the root, got list . Try appending one of: | as(toml) # Wraps the list under a single-entry map (equivalent to {items: .}).
$ lam --to toml '.dependencies | keys | as(toml)' pubspec.yaml items = ["rumil", "rumil_parsers", "rumil_expressions"]
Queries are bounded and always terminate. No recursion, no lambdas, no def. That's the tradeoff: Lambë doesn't try to be a programming language, so its shape inference, --explain, --schema, and error remediations all work.
*Lambë (pronounced "lam-beh") means "language" in Quenya (Tolkien's elvish). The package name is lambe for ASCII compatibility.*
One-line installer (Linux and macOS, no sudo, verifies SHA256 checksums):
curl -fsSL https://raw.githubusercontent.com/hakimjonas/lambe/main/install.sh | sh
This downloads lam and lam-mcp from the latest GitHub release into ~/.local/bin/. Environment variables LAMBE_VERSION (pin a version) and LAMBE_PREFIX (change install dir) are supported; see the script for details.
Other options:
# From pub.dev (Dart users)
dart pub global activate lambe
dart pub add lambe
git clone https://github.com/hakimjonas/lambe.git && cd lambe dart compile exe bin/lam.dart -o lam
See Getting started for all installation options.
Lambë checks the result of your query against the shape the target format can serialize. When they match, output is produced. When they don't, the error names the required shape and lists query fragments that would bridge it. In an interactive terminal, Lambë offers to apply the chosen fragment and retry in place.
$ lam --to toml '.name' pubspec.yaml
TOML output requires a map at the root, got string. Try appending one of: | as(toml) # Wraps the scalar under a single-entry map (equivalent to {value: .}).
Apply a bridge? [1] | as(toml) # Wraps the scalar under a single-entry map (equivalent to {value: .}). [q] cancel
1
value = "rumil"
The same flow applies to CSV and TSV (which require a list of records at the root) and HCL (which requires a map).
Suggestions surface the intent-level as( ) form. The explanation names the raw fragment ({value: .}, to_entries, etc.) the bridge composes, so --explain and manual composition stay available to anyone who wants them.
By default, nested lists or maps in CSV/TSV cells are rejected — there is no faithful delimited rendering for them. When you need a quick export and lossy is acceptable, pass --flatten-cells json (CLI) or :flatten-cells json (REPL) to encode them as JSON strings inline. Round-tripping the resulting file back into Lambë does not recover the original structure; prefer reshaping the data query-side when fidelity matters.
as(fmt) — bridging in the query languageWhen the shape of the target format is known up front, as(fmt) performs the bridge inside the query. The combinator is a no-op when the input already satisfies the target, applies a single curated bridge when one exists, and lists the candidates when more than one could apply.
$ lam --to toml '.dependencies | as(toml)' pubspec.yaml
rumil = "^0.6.0" rumil_parsers = "^0.6.0" rumil_expressions = "^0.6.0"
$ lam --to csv '.dependencies | as(csv)' pubspec.yaml key,value rumil,^0.6.0 rumil_parsers,^0.6.0 rumil_expressions,^0.6.0
as accepts json, yaml, toml, csv, tsv, and hcl.
--explain — see the shape at every pipe stage--explain walks the pipe backbone of a query and reports the shape at each stage, followed by the set of output formats the final shape can be serialized as. It performs static analysis only and does not evaluate the query; pass a data file to seed with real shape information, or omit it to trace against an unknown input.
$ lam --explain '.dependencies | keys' pubspec.yaml
.dependencies : map | keys : list
Writable as: json, yaml, csv, tsv Not writable as: toml, hcl
Explain flags provably-empty filters (filter(.missing) on a known shape) and runtime-rejection mismatches (filter on a non-list input) by default. Pass --explain-trivial to also flag sort_by/group_by/map/unique_by whose argument references a missing field (often a typo, sometimes intentional). For agent tooling and build pipelines, --explain-json emits the same information as a structured JSON document.
--schema — declare a shape and let Lambë check your workWhen you have a JSON Schema for your data — from an API contract, OpenAPI spec, or hand-written docs — point --schema at it:
$ lam --schema api.schema.json --explain '.users | map(.email)' response.json
.users : list >> | map(.email) : list >
Writable as: json, yaml, csv, tsv Not writable as: toml, hcl
The schema fills in information data alone can't express: optional fields (from JSON Schema's required), element shapes of empty lists, types shapeOf couldn't infer from sampling. --explain shows them; the evaluator trusts them.
With data present, Lambë also validates: a schema saying age: number against data with age: "30" exits 1 at load time with a JSON-path-annotated diagnostic. No silent drift, no running a query against data that doesn't match its contract.
A sibling .schema.json is auto-detected, so a project convention of placing schemas next to data works without explicit flags.
The reverse direction is symmetrical: lam --print-shape data.json emits the inferred shape as a JSON Schema document. Round-trip:
lam --print-shape data.json > data.schema.json # bootstrap a schema from data
lam --schema data.schema.json '.users' data.json # use it back
Accepted JSON Schema keywords: type, properties, items, required. Value-level constraints (minimum, pattern, enum, etc.), structural combinators (allOf, oneOf), $ref, and conditional schemas are rejected with a per-keyword error. Lambë is a shape system, not a validation engine — for richer validation, reach for ajv or check-jsonschema.
Queries start with . (the current data) and chain operations with |:
. the whole document
.name access a field .users[0] index into a list .users[0].address.city chain access .users | filter(.age > 30) pipe into an operation .users | map(.name) transform each element
Pipelines read left to right. Each | passes its result to the next operation:
.users | filter(.active) | sort_by(.name) | map(.name)
This takes .users, keeps active ones, sorts by name, and extracts names.
.price * .qty arithmetic (+, -, *, /, %)
.age > 30 comparison (<, >, <=, >=, ==, !=) .active && .verified logic (&&, ||, !) if .age > 65 then "senior" else "active" conditional {name, total: .price * .qty} construct a new object "\(.name) is \(.age)" string interpolation .[1:3] slice a list or string
Operations follow | and transform the piped value:
. | filter(.age > 30) keep matching elements
. | map(.name) transform each element . | sort_by(.age) sort by a key . | group_by(.dept) group into [{key, values}] . | length count elements . | first first element . | sum sum numbers . | keys map keys or list indices . | has("field") check if a field exists . | unique remove duplicates . | flatten flatten one level of nesting . | to_entries map to [{key, value}] pairs . | filter_values(. > 5) filter a map's values . | as(toml) bridge to an output format
See the full list in Pipeline Operations below.
# Extract values
lam '.database.host' config.toml lam '.spec.containers[0].image' deployment.yaml
lam '.users | filter(.age > 30) | map(.name)' data.json
lam '.items | map(.price) | sum' data.json
lam '.items | sort_by(.price) | first' data.json
lam '.users | map({name, senior: .age > 65})' data.json
lam '.users | map("\(.name) is \(.age)")' data.json
lam --explain '.users | map(.name)' data.json
lam --print-shape data.json
lam --schema api.schema.json '.users | map(.email)' response.json
lam --assert '.version != "0.0.0"' package.json lam --assert '.replicas >= 2' deployment.yaml
lam --to yaml '.config' data.json lam --to csv '.users | map({name, age})' data.json lam --to toml '.config | as(toml)' data.json lam --to csv --flatten-cells json '.users' data.json # encode nested cells as JSON
lam --ndjson '.user.id' events.ndjson tail -f app.log | lam --ndjson '.level'
lam '. | filter(.status != "closed")' issues.csv lam '.resource | map(._labels)' main.tf lam '.children | filter(.type == "heading") | map(.children[0].text)' README.md
curl -s https://api.example.com/users | lam '.results | filter(.active)'
lam -i data.json
lambe v0.14.0 - type :help for commands, :q to quit
Data loaded: {3 fields, 42 users}
lambe> .users | filter(.age > 30) | map(.name) ["Bob", "Carol"]
lambe> .users[0] {name: "Alice", age: 25, active: true}
lambe> :schema {users: [{name: "string", age: "number", active: "boolean"}]}
lambe> :to yaml Output format: yaml
When a query produces a result the current output format cannot serialize, the REPL lists the available bridges inline; pressing the number of a suggestion applies it and prints the bridged output. Tab completion works on field names (.us ) and pipeline operations (| fil ). The REPL also supports syntax highlighting, persistent history (~/.lambe_history), Ctrl+R reverse search, and multi-line input with \ continuation.
import 'package:lambe/lambe.dart';
// Query pre-parsed data final name = query('.users[0].name', data);
// Query a JSON string final version = queryJson('.version', '{"version": "1.0.0"}');
// Query any format final host = queryString('.database.host', tomlString, format: Format.toml);
// Parse once, evaluate many times final ast = parseAst('.users | filter(.active) | map(.name)'); final result1 = evaluateAst(ast, dataset1); final result2 = evaluateAst(ast, dataset2);
// Format conversion final yaml = formatOutput(data, OutputFormat.yaml); final csv = formatOutput(users, OutputFormat.csv);
// Shape inference and JSON Schema output final shape = shapeOf(data); // Shape ADT final schemaJson = renderJsonSchema(shape); // JSON Schema text
//