Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
The modeler's client for SDCStudio: search the catalog, estimate, assemble and publish SDC4 models.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SDCSTUDIO_API_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"sdcmodeler": {
"command": "uvx",
"args": [
"sdcmodeler",
"mcp"
],
"env": {
"SDCSTUDIO_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add sdcmodeler --env SDCSTUDIO_API_KEY=your-value -- uvx sdcmodeler mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"sdcmodeler": {
"command": "uvx",
"args": [
"sdcmodeler",
"mcp"
],
"env": {
"SDCSTUDIO_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"sdcmodeler": {
"type": "stdio",
"command": "uvx",
"args": [
"sdcmodeler",
"mcp"
],
"env": {
"SDCSTUDIO_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 Axius-SDC 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SDCSTUDIO_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(4.4.1)于4天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
The modeler's client for SDCStudio. Search the public catalog, estimate, assemble and publish an SDC4 data model, generate its package and an application. A Python client with httpx as its only dependency, a CLI, and sdcmodeler mcp, an MCP server for any agent.
An agent that builds a feature decides a data model at that moment. With sdcmodeler the data is modeled in SDC by default: the agent searches the catalog first, reuses published components wherever one fits, mints only what is new, publishes the model, and takes the package. The result is interoperable because it is composed from shared, published components, and verifiable because every record validates against a published schema.
The name follows the role pattern of the other Semantic Data Charter servers: sdcvalidator validates, sdcgovernance governs, sdcreader reads, sdcmodeler models. It also names what SDCStudio calls every user: a Modeler.
pip install sdcmodeler
The catalog and estimates need no account. Building needs an SDCStudio API key, created in Settings, API Keys, with the scopes and spending limit the holder should have:
export SDCSTUDIO_API_KEY=sdcs_...
from sdcmodeler import SDCStudioClient
c = SDCStudioClient() # key from $SDCSTUDIO_API_KEY, URL from $SDCSTUDIO_URL hits = c.search_components("blood pressure", type="xdquantity") tree = { "label": "Vitals", "components": {"ct_id": hits["results"["ct_id"]}, # reuse: free {"label": "Pulse", "data_type": "XdCount"}, # mint: 100 credits ], "clusters": [], } estimate = c.estimate(tree, "Vitals") # the server's estimate: reuse, mint, problems, total_credits, wallet, key, estimate_id result = c.assemble("Vitals", tree, estimate_id=estimate["estimate_id"]) # 500 credits plus the mints
Every leaf existing: the server assembles, publishes and generates the package in one call (result["mode"] == "reuse"; published and generated say so). Some leaves new: the pipeline runs and result["job_ct_id"] is polled with c.job_status(...), or c.wait_for_job(...), until completed, when the job has published and generated as asked and its result carries the model's links. publish=False leaves a draft for a person to review. The server refuses a build whose tree changed since the estimate.
A 402 is InsufficientCredits with the numbers in credits. A 403 from the key's policy (no spend scope, or past its limit) is KeyPolicyRefused. The client never funds a wallet; a person does that at the wallet page.
sdcmodeler search "blood pressure" --type xdquantity
sdcmodeler models "patient" sdcmodeler model sdcmodeler artifact xsd --dir ./schemas sdcmodeler estimate tree.json --title "Vitals" sdcmodeler build tree.json --title "Vitals" --wait sdcmodeler job sdcmodeler package --dir ./packages sdcmodeler app --profile lightweight --dir ./apps sdcmodeler kit --project ./my-app sdcmodeler wallet
sdcmodeler mcp
A JSON-RPC 2.0 stdio server, no SDK, the way sdcvalidator and sdcgovernance are built. A client configuration needs only:
{"command": "uvx", "args": ["sdcmodeler", "mcp"], "env": {"SDCSTUDIO_API_KEY": "sdcs_..."}}
| Tool | Does | Spends |
|---|---|---|
search_components | the public catalog by label, type and project | no |
list_models, get_model | published models and their artifact routes | no |
estimate_model | what a tree would reuse, mint and cost; returns estimate_id | no |
build_model | assemble, publish and generate (or publish: false for a draft); needs the estimate_id the person saw; refuses past the key's limit | yes |
job_status | one job by id: status, step, cost so far, the model's links | no |
download_package | a model's package ZIP with the key, including a model in a private project; builds a missing package first (free, once) unless generate is false | no |
generate_app | generate and download the application; needs confirm_charge; 1,500 credits the first time, free after | yes |
add_supabase_kit | write a model's Supabase kit into a project (project_dir); needs confirm_charge; charged with the application, once per model | yes |
wallet | balance in credits and the key's policy | no |
The policy lives in the server. No spend without an estimate shown: build_model takes the estimate_id that estimate_model returned for the same title and tree in this process. Stop at the key's limit: a build whose estimate exceeds what the key may still spend is refused before the server is asked. Never pay: a 402 is reported with the wallet page's address and the tool stops. No tool takes a URL, a key or a payment method as an argument; the key is the environment the server starts with.
get_model names the artifacts: the XSD 1.1 schema, the instance template, JSON, JSON-LD, SHACL, HTML, GraphQL. The package is a contract with no runtime attached; a feature inside an existing application implements on it, in any language, validating every record locally with sdcvalidator. The generated application (lightweight or enterprise profile) is a Django implementation on the same package, right when the feature is a new service. The Supabase kit is the same for a TypeScript app on Supabase: typed code for the model's records, migrations, and a gate (an Edge Function) that validates every record against the published model before storing it. sdcmodeler kit and add_supabase_kit write it into the project: the first model brings the project base, each further one adds its kit and one migration, numbered after the project's latest, and a component already in the project is never rewritten. Apply with Supabase's CLI (supabase db push, supabase functions deploy gate). CordovaOS is ten of them sharing data with zero integration code.
Validation (sdcvalidator's server), governance (sdcgovernance's), receipt verification (sdcreceipt's) and bringing existing data across (sdc-agents) are their own registered servers. sdcmodeler composes with them; it does not re-implement them.
Two steps: merge to main, then push the tag v matching pyproject.toml. release.yml runs the tests, builds, publishes to PyPI by trusted publisher and to the MCP registry.
Apache License 2.0. Copyright Axius SDC, Inc.