배포된 모델과 그 종속성을 추가 전용 로그로 추적하여 AI agent를 위한 연결된 종속성 그래프를 제공합니다.
다른 이름 block/model-ledger, model-ledger
- 스타
- 17
- Tools
- —
- 다운로드, 30일
- 1,119
- 최신 버전
- 0.7.13
- 마지막 커밋
- 2026년 9월 17일
- 라이선스
- Apache-2.0
Model Ledger MCP란?
Model Ledger은(는) MCP server입니다. 배포된 모델과 그 종속성을 추가 전용 로그로 추적하여 AI agent를 위한 연결된 종속성 그래프를 제공합니다.
프로젝트 README에서 생성된 요약
Model Ledger MCP server 정보
Model Ledger는 조직이 배포된 모델과 상호 종속성을 추적할 수 있는 중앙 집중식 인벤토리 역할을 합니다. 모든 변경 사항을 불변의 스냅샷으로 기록하는 추가 전용 이벤트 로그로 작동하여, 전체 이력 확인 및 특정 시점의 상태 재구성이 가능합니다. MLflow 또는 SageMaker와 같은 특정 플랫폼 전용 레지스트리와 달리, 이 도구는 모델, 휴리스틱 규칙 및 ETL 프로세스를 탐색하여 여러 플랫폼을 아우르는 단일 연결 그래프를 생성합니다.
개발자는 AI agent를 위해 설계된 네이티브 MCP server를 통해 이 인벤토리와 상호작용할 수 있습니다. mcp extra를 사용하여 패키지를 설치하면 Claude와 같은 클라이언트를 8개의 도구를 갖춘 agent 인터페이스에 연결할 수 있습니다. 시스템은 SQLite, Snowflake, JSON 및 원격 HTTP를 포함한 다양한 백엔드를 지원합니다. 타입이 지정된 입력 및 출력 포트를 가진 DataNodes를 사용하여 connect 메서드를 통해 종속성 엣지를 자동으로 구축하므로, 수동 연결 없이도 그래프가 최신 상태로 유지됩니다.
활용 사례
- 1중단 영향 분석특정 기능이 제거될 경우 어떤 모델이 영향을 받는지 AI agent에게 확인하도록 요청합니다.
- 2모델 종속성 추적특정 모델의 전체 리니지를 추적하여 상위 및 하위 연결 관계를 확인합니다.
- 3과거 상태 재구성불변의 이벤트 로그를 사용하여 특정 시점의 모델 인벤토리 상태를 확인합니다.
- 4종속성 매핑 자동화입력 및 출력 포트 이름을 매칭하여 모델 간의 연결을 자동으로 수행합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
Model Ledger MCP 설치 방법
형식 확인: 2026년 11월 10일Claude Code에 Model Ledger MCP 설치
$ claude mcp add model-ledger -- uvx model-ledgerCursor에 Model Ledger MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"model-ledger": {
"command": "uvx",
"args": [
"model-ledger"
]
}
}
}VS Code에 Model Ledger MCP 설치
.vscode/mcp.json
{
"servers": {
"model-ledger": {
"type": "stdio",
"command": "uvx",
"args": [
"model-ledger"
]
}
}
}Claude Desktop에 Model Ledger MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"model-ledger": {
"command": "uvx",
"args": [
"model-ledger"
]
}
}
}Codex에 Model Ledger MCP 설치
~/.codex/config.toml
[mcp_servers.model-ledger] command = "uvx" args = ["model-ledger"]
Gemini CLI에 Model Ledger MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"model-ledger": {
"command": "uvx",
"args": [
"model-ledger"
]
}
}
}자동 검사
2026년 11월 14일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능block/model-ledger is public and reachablegithub.com/block/model-ledger ↗통과
- 패키지가 이 저장소를 소스로 지정model-ledger names block/model-ledger as sourcepypi.org/project/model-ledger/ ↗통과
- 빌드 출처(Sigstore 증명)Sigstore attestation for model-ledgerpypi.org/project/model-ledger/ ↗통과
- 오픈 소스 라이선스 (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-09-17github.com/block/model-ledger ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음No popular package one edit away from model-ledger통과
- 패키지와 의존성에 심각한 보안 권고 없음12 resolved dependencies checked; no critical advisoryosv.dev ↗통과
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 endpoint가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기model-ledger
git for models — know what models you have deployed, where they run, what they depend on, and what changed.
📖 Documentation · Quickstart · Concepts · Governance
model-ledger is a model inventory for any organization with deployed models. It discovers models, heuristic rules, and ETL across your platforms, maps the dependency graph automatically, and records every change as an immutable event. Unlike registries tied to a single platform (MLflow, SageMaker, W&B), it spans all of them — as one connected graph — and it's built to be driven by AI agents through a native MCP server.
Benchmarked at production scale: full inventory reconstruction over a ledger of 28.8k models and 212k events runs in under a second (CHANGELOG, v0.7.4).
Install
pip install model-ledger
The graph builds itself
Every model is a DataNode with typed input and output ports. When an output port name
matches an input port name, connect() creates the dependency edge — no hand-wiring.
from model_ledger import Ledger, DataNode
ledger = Ledger()
ledger.add([
DataNode("segmentation", platform="etl", outputs=["customer_segments"]),
DataNode("fraud_scorer", platform="ml", inputs=["customer_segments"], outputs=["risk_scores"]),
DataNode("fraud_alerts", platform="alerting", inputs=["risk_scores"]),
])
ledger.connect()
ledger.trace("fraud_alerts")
# ['segmentation', 'fraud_scorer', 'fraud_alerts']
Every mutation is recorded as an immutable Snapshot — an append-only event log that gives you full history and point-in-time reconstruction, because nothing is overwritten.
Talk to your inventory
The MCP server is a first-class surface — point Claude (or any MCP agent) at it:
pip install "model-ledger[mcp]"
claude mcp add model-ledger -- model-ledger mcp --demo
You: if we deprecate
customer_features, what breaks?Claude: 3 models consume it directly, 2 more transitively.
Documentation
Everything lives at block.github.io/model-ledger — and it can't drift, because the API reference is generated from source and every example runs in CI:
- Quickstart — install to your first dependency trace in 60 seconds
- Concepts — DataNode, Snapshot, and Composite, in three ideas
- Agents (MCP) — the eight-tool agent surface, with a worked transcript
- Connectors — discover from SQL, REST, GitHub, or your own platform
- Backends — in-memory, SQLite, JSON, Snowflake, or remote HTTP
- Governance — how the primitives map to SR 11‑7/SR 26‑2, the EU AI Act, and NIST AI RMF
- API reference — generated from the source
Architecture
flowchart LR
subgraph Sources
C1[SQL / REST / GitHub / Prefect<br/>connectors]
end
subgraph Core
L[Ledger<br/>append-only event log,<br/>point-in-time reconstruction]
G[Dependency graph]
V[Compliance profiles<br/>SR 11-7/SR 26-2 · EU AI Act · NIST AI RMF]
end
subgraph Surfaces
S1[Python SDK]
S2[CLI]
S3[REST API]
S4[MCP server · 8 tools]
end
B1[(in-memory · SQLite · JSON ·<br/>Snowflake · remote HTTP)]
C1 --> L
L --> G
L --> V
L --- B1
S1 --> L
S2 --> L
S3 --> L
S4 --> L
For organizations
The OSS core handles discovery, graph building, change tracking, storage, the agent
protocol, and compliance validation — the SR 11‑7/SR 26‑2, EU AI Act Annex IV, and
NIST AI RMF profiles ship in model_ledger.validate. Your internal package provides
only the thin layer on top: connector configs, custom connectors for internal
platforms, and credentials. Thin config, not reimplemented logic.
Contributing
See CONTRIBUTING.md. All commits require DCO sign-off.
Security
See SECURITY.md for how to report vulnerabilities privately.
License
Apache-2.0. See LICENSE.
Created and maintained by Vignesh Narayanaswamy at Block.
Model Ledger MCP 질문
Model Ledger MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add model-ledger -- uvx model-ledger를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
Model Ledger MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
Model Ledger는 MLflow나 SageMaker와 무엇이 다른가요?
단일 플랫폼에 종속된 레지스트리와 달리, Model Ledger는 모든 플랫폼을 하나의 연결된 그래프로 아우릅니다.
종속성 그래프는 어떻게 작동하나요?
출력 포트 이름과 입력 포트 이름이 일치하면 그래프가 자동으로 생성되므로 수동으로 연결할 필요가 없습니다.
Claude와 함께 사용할 수 있나요?
네, MCP server를 통해 Claude 또는 모든 MCP agent가 모델 인벤토리를 참조하도록 설정할 수 있습니다.