Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Zefix commercial register with a company-UID join to amtsblattportal.ch (SHAB + cantonal gazettes)
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"register": {
"command": "uvx",
"args": [
"register-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add register -- uvx register-mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"register": {
"command": "uvx",
"args": [
"register-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"register": {
"type": "stdio",
"command": "uvx",
"args": [
"register-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 malkreide 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.7.0)于41天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, arr-mcp
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
One server, 40 tools, the whole media stack: *arrs, Jellyfin, Plex, Seerr, Cleanuparr, downloaders
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
🇨🇭 Part of the [Swiss Public Data MCP Portfolio](https://github.com/malkreide)
MCP Server for the Swiss Federal Commercial Register (Zefix/Handelsregister), with a company-UID join to the official gazettes (SHAB + cantonal Amtsblätter)
🇩🇪 Deutsche Version
register-mcp provides AI-native access to two Swiss federal data sources, joined on the UID, all without authentication:
| Source | Data | API |
|---|---|---|
| Zefix (Handelsregister) | Swiss companies, legal forms, registered-office data | ZefixREST v1 |
| Amtsblattportal | Everything published about a specific company (by its UID): HR mutations, calls to creditors, bankruptcy | amtsblattportal.ch v1 |
The two sources share one key — the UID. The value is in the join: Zefix tells you whether a company exists; the gazette tells you what has been published about it.
The gazette access here is deliberately company-scoped only — keyed on a company UID or a specific publication id. There is no free-text / person-name gazette search in this server; that would be a profiling tool over the gazette's person-data rubrics (bankruptcy, debt-collection, inheritance). Broad Amtsblatt platform search (procurement, cantonal notices, full-text) is proposed as a separate amtsblatt-mcp — see docs/amtsblatt-mcp-proposal.md and the Data Protection & Scope section below.
Designed for Swiss public administration use cases: vendor verification, contract partner due diligence, and supplier onboarding — all via natural language queries.
Anchor demo query: *"Before we sign a framework agreement with Lehrmittelverlag Zürich AG: is the company active in the commercial register, what is its UID and stated purpose — and, via that UID, what has the official gazette published about it (HR mutations, calls to creditors, any bankruptcy)?"*
That single question walks the whole tool chain across both sources:
zefix_search_company → zefix_verify_company → gazette_company_publications(uid=…) → gazette_get_publication(id=…)
provenance/mcp (cloud, native MCP spec 2026-07-28); SSE kept for existing deployments# Clone the repository
git clone https://github.com/malkreide/register-mcp.git cd register-mcp
pip install -e .
uv pip install -e .
Or with uvx (no permanent installation):
uvx register-mcp
# stdio (for Claude Desktop)
python -m register_mcp.server
MCP_API_KEY=$(openssl rand -hex 32) MCP_TRANSPORT=streamable-http PORT=8000 \ python -m register_mcp.server
Two HTTP transports are available:
MCP_TRANSPORT | Endpoint | Protocol revisions |
|---|---|---|
streamable-http (container default) | POST /mcp | 2026-07-28 per-request envelope and the initialize handshake up to 2025-11-25 |
sse | GET /sse + POST /messages/ | handshake era only — kept so existing deployments keep working |
streamable-http runs stateless with JSON responses: no Mcp-Session-Id, no session held in a single process, so a second instance needs no sticky sessions.
⚠️ Upgrade note (0.7.0): the container image and
compose.yamlnow
default to
streamable-http. Clients configured with…/ssemust switch to
…/mcp, or the deployment setsMCP_TRANSPORT=sseexplicitly.
With either HTTP transport, the server enforces:
MCP_API_KEY to a secret string. Clients must send Authorization: Bearer on every request. Missing or wrong → HTTP 401. The server refuses to start without MCP_API_KEY set.MCP_RATE_LIMIT and MCP_RATE_WINDOW. Exceeding the limit returns HTTP 429 with Retry-After.tool, status, latency_ms. Auth failures and rate-limit events are logged at WARNING level. Configure verbosity with LOG_LEVEL (default INFO).LEGAL_FORMS_TTL seconds) to avoid an extra upstream call per tool invocation.www.zefix.admin.ch and amtsblattportal.ch via an httpx request hook that also fires on redirects. A Location header pointing elsewhere raises EgressDenied and is never followed. Override with MCP_ALLOWED_HOSTS=host1,host2 (comma-separated, lower-case).⚠️ Upgrade note (0.2.x → 0.3.0):
amtsblattportal.chwas added to the
default allow-list when the gazette tools shipped. If your deployment
pins
MCP_ALLOWED_HOSTS, that value overrides the default entirely —
add
amtsblattportal.chto it, or everygazette_*call will raise
EgressDenied.
pip install register-mcp[otel] and set OTEL_EXPORTER_OTLP_ENDPOINT (e.g. http://otel-collector:4318/v1/traces). Without the extra or without the env var the server stays silent — no hard dependency on the OTel SDK.For multi-instance deployments, place a real gateway (Cloudflare, Railway internal networking, an API-Gateway with Redis-backed rate limiting) in front of the in-memory limiter, which is per-process by design.
A minimal multi-stage Dockerfile ships with the repo. The image runs as a non-root mcp user; dependencies are resolved from uv.lock (uv sync --frozen), so the build is reproducible.
docker build -t register-mcp:local .
docker run --rm -p 8000:8000 \ -e MCP_API_KEY="$(openssl rand -hex 32)" \ register-mcp:local
For local iteration there is a compose.yaml with read_only, cap_drop: ALL and no-new-privileges:
MCP_API_KEY=$(openssl rand -hex 32) docker compose up --build
See SECURITY.md for hardening notes (egress restriction, key rotation, SIEM forwarding).
Try it immediately in Claude Desktop:
*"Is Lehrmittelverlag Zürich AG active in the commercial register?"*
*"Look up the company with UID CHE-108.954.978"*
*"List all Swiss legal forms"*
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": { "register": { "command": "python", "args": ["-m", "register_mcp.server"] } } }
Or with uvx:
{
"mcpServers": { "register": { "command": "uvx", "args": ["register-mcp"] } } }
Config file locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonFor use via claude.ai in the browser (e.g. on managed workstations without local software):
Render.com (recommended):
python -m register_mcp.server and the environment variables MCP_TRANSPORT=streamable-http and MCP_API_KEY= (Render provides PORT)https://your-app.onrender.com/mcp💡 *"stdio for the developer laptop, Streamable HTTP for the browser."*
Zefix — commercial register (6):
| Tool | Description |
|---|---|
zefix_search_companies | Search companies by name, canton, legal form |
zefix_get_company | Full company profile by internal EHRAID |
zefix_get_company_by_uid | Company lookup by UID (CHE-xxx.xxx.xxx) |
zefix_verify_company | Quick active/dissolved status check |
zefix_list_legal_forms | All Swiss legal forms with IDs |
zefix_list_municipalities | Swiss municipalities with BFS IDs |
Amtsblattportal — the company-scoped gazette join (3):
| Tool | Description |
|---|---|
gazette_company_publications | The UID join. All gazette publications for a company UID, newest first, optional (validated) rubric/time filters |
gazette_get_publication | Single publication incl. XML full text, defensively parsed (by publication id) |
gazette_source_status | Reachability of both sources + cache ages (rubrics, legal forms) |
The prefix is gazette_, not shab_, because the source covers SHAB and the cantonal gazettes. Every entry point is UID- or id-scoped — see Data Protection & Scope. Broad, non-company gazette search (procurement, cantonal full-text) is scoped to the separate amtsblatt-mcp.
| Query | Tool |
|---|---|
| *"Is Lehrmittelverlag Zürich AG active?"* | zefix_verify_company |
| *"Look up CHE-108.954.978"* | zefix_get_company_by_uid |
| *"Find companies named Migros in canton ZH"* | zefix_search_companies |
| *"What has been published about CHE-116.115.052?"* | gazette_company_publications |
| *"Show the full official text of that HR deletion notice"* | gazette_get_publication |
| *"Are both data sources reachable right now?"* | gazette_source_status |
┌──────────────────────────────┐
┌────▶│ Zefix (Handelsregister) │ │ │ www.zefix.admin.ch │ ┌─────────────────┐ ┌──────────────────────────┴─┐ │ ZefixREST/api/v1 │ │ Claude / AI │────▶│ register-mcp │ └──────────────────────────────┘ │ (MCP Host) │◀────│ (MCP Server) │ ┌──────────────────────────────┐ └─────────────────┘ │ 9 Tools (zefix_ + gazette_) ├──▶│ Amtsblattportal │ │ stdio | HTTP /mcp | SSE │ │ amtsblattportal.ch/api/v1 │ │ Egress allow-list │ │ SHAB + cantonal gazettes │ │ No authentication required │ └──────────────────────────────┘ └──────────────────────────────┘ join key: UID (CHE-XXX.XXX.XXX)
只显示了开头部分;其余内容请在仓库中阅读