原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Termdat MCP

作者:malkreide版本 0.2.0i★ –i在你的电脑上运行
注册名称io.github.malkreide/termdat-mcp

安装

概览

作者提供的说明(英文原文)

MCP server for TERMDAT — the terminology database of the Swiss Federal Administration

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 数据库与数据集

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "termdat": {
      "command": "uvx",
      "args": [
        "termdat-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add termdat -- uvx termdat-mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "termdat": {
      "command": "uvx",
      "args": [
        "termdat-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "termdat": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "termdat-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 malkreide 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“数据库与数据集”中的其他服务器比较i

  • 星标数多于此分类中其他 954 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 954 个服务器的 40% 更新
  • 基础检查结果等于或优于此分类中其他 954 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Termdat MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.2.0)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Supabase

作者:supabase

MCP server for interacting with the Supabase platform

电脑或云端★ 2,993Apache-2.0今天更新
安装

MongoDB MCP Server

作者:mongodb-js

MongoDB Model Context Protocol Server

在你的电脑上运行★ 1,157Apache-2.0前天更新
安装

MCP server for interacting with Elasticsearch

在你的电脑上运行★ 315Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

🇨🇭 Part of the Swiss Public Data MCP Portfolio — open-source MCP servers connecting AI agents to Swiss public and open data.

This is a private project. It is independent of any employer or institutional affiliation.

🏷️ termdat-mcp

Official, validated Swiss administrative designations across DE / FR / IT / EN — with source references and validation status.

🇩🇪 Deutsche Version

Overview

MCP server for TERMDAT, the terminology database of the Swiss Federal Administration, maintained by the Federal Chancellery. It gives an AI agent the officially validated designations of Swiss authorities, departments and legal acts across DE / FR / IT / EN — with source references and validation status.

Discovered through i14y-mcp, which catalogues TERMDAT as data service ff0c37eb-2f7c-4ff6-996e-d22b77bf52fc.

What this is — and what it is not. TERMDAT is not a subject dictionary. It is a certified name-plate archive: it will not tell you what «Sonderpädagogik» means, but it will tell you the official name of the authority responsible for it, and what that authority is called in French.

Measured coverage (live, 2026-07-19, German search over the Terminus field):

Search termHits
Departement20
Bildung13
Verordnung8
Schule5
Behörde4
Sonderpädagogik3
Volksschule · Lehrperson · Schulleitung · Unterricht · Kindergarten0

The thirteen «Bildung» hits are organisational names — Bildungsdirektion, Erziehungsdepartement, Departement für Volkswirtschaft und Bildung — not pedagogical concepts. Plan accordingly: this server is strong for authority naming, official titles and abbreviations, and largely silent on domain vocabulary.

Features

  • Seven read-only tools over the official TERMDAT public v2 API.
  • Official designations across DE / FR / IT / EN, with source reference and validation status on every response.
  • Communication QA: check up to 25 terms in one call against validated designations.
  • Vocabulary cache (24 h TTL) for the 140 collections and 23 classifications, with stale-serve fallback.
  • Retry with exponential backoff (2/4/8 s); explicit MaxEntryCount to avoid silent truncation.
  • Dual transport: stdio (local) and Streamable HTTP (cloud). Both serve MCP protocol revision 2026-07-28.
  • No authentication required — public, unauthenticated API (No-Auth-First).

🎯 Anchor demo query

*«What are the official French and Italian names of the education directorates of the German-speaking cantons?»*

Resolved with list_classifications → search_terms → translate_term.

Demo

Prerequisites

  • Python 3.10+
  • uv / uvx (recommended) or pip
  • Network access to api.termdat.bk.admin.ch — no API key needed

Installation

uvx termdat-mcp

Claude Desktop (claude_desktop_config.json):

{

"mcpServers": { "termdat": { "command": "uvx", "args": ["termdat-mcp"] } } }

Quickstart

# Run locally over stdio (default transport)

uvx termdat-mcp

From a checkout, without installing

PYTHONPATH=src python -m termdat_mcp

Configuration

All configuration is via environment variables. Defaults are safe for local use.

VariableDefaultPurpose
TERMDAT_MCP_TRANSPORTstdioTransport: stdio (local) or streamable-http / http (cloud). sse is accepted as a deprecated alias and now serves Streamable HTTP on /mcp — it warns on startup
HOST127.0.0.1Bind host (HTTP transport only). Loopback by default; set HOST=0.0.0.0 only inside a container
PORT8000Bind port (HTTP transport only)
TERMDAT_MCP_CORS_ORIGINS[]HTTP only: explicit allowed browser origins (default-deny; never a wildcard in production). Comma-separated, e.g. https://a.example,https://b.example
TERMDAT_MCP_ALLOWED_HOSTS[]HTTP only: inbound Host allow-list. Comma-separated, e.g. mcp.example.ch,mcp.example.ch:443. Needed for a non-loopback bind — without it the Host header is not checked at all
TERMDAT_MCP_LOG_LEVELINFOstructlog level (JSON to stderr)
TERMDAT_MCP_VOCAB_TTL86400Vocabulary cache TTL in seconds

Configuration is loaded once into a typed Settings object (pydantic-settings).

List variables. TERMDAT_MCP_CORS_ORIGINS and TERMDAT_MCP_ALLOWED_HOSTS take a comma-separated list — the recommended spelling, and the one the rest of the Swiss Public Data MCP portfolio uses:

TERMDAT_MCP_ALLOWED_HOSTS="mcp.example.ch,mcp.example.ch:443"

A JSON list (["mcp.example.ch"]) stays valid. Surrounding whitespace and empty entries are dropped in both forms, so a trailing comma is harmless. A single value needs no brackets.

`TERMDAT_MCP_ALLOWED_HOSTS` matters in the cloud. The SDK leaves DNS-rebinding protection off while no allow-list is configured. Bind to 0.0.0.0 in a container without this variable and the Host header is never validated — the server cannot derive its own public name from the bind address, and a guessed list would reject every real request with HTTP 421. It warns on startup when it has to fall back to that state.

Cloud (Render / Railway):

TERMDAT_MCP_TRANSPORT=streamable-http PORT=8000 termdat-mcp   # exposes /mcp

Available Tools

ToolPurpose
search_termsSearch TERMDAT with field flags, collection and classification filters
translate_termOfficial equivalent of an administrative term in another national language
check_termsCommunication QA: check up to 25 terms against validated designations
get_entriesFetch known entries by numeric ID
list_collectionsThe ~140 terminology collections (filter values)
list_classificationsThe 23 subject classifications, e.g. BILD = education
api_statusAvailability; never returns silently empty

All tools are annotated readOnlyHint: true, destructiveHint: false.

MCP primitives. This server uses only the Tools primitive. TERMDAT answers are live queries with no stable resource hierarchy to expose as *Resources*, and there are no server-authored *Prompts*. The seven tools are small and closely related, so they live in a single server.py rather than a tools/ package.

Architecture

┌─────────────────┐  stdio / HTTP    ┌──────────────────────────┐

│ MCP host │ ───────────────► │ termdat-mcp │ │ (Claude, IDE) │ ◄─────────────── │ │ └─────────────────┘ │ vocabulary cache (24 h) │ │ 140 collections │ │ 23 classifications │ └────────────┬─────────────┘ │ httpx + retry (2/4/8 s) ▼ https://api.termdat.bk.admin.ch/v2 ├── /Search (SearchTerm + InLanguageCode) ├── /Entry (EntryIds) ├── /Collection (140 values) └── /Classification ( 23 values, incl. BILD)

Architecture decision

This server uses Architecture A (live API only), with caching limited to the two controlled vocabularies.

Rationale (verified live on 2026-07-19):

  • The API publishes a complete OpenAPI 3.0.4 specification at /swagger/v2/swagger.json and declares no security schemes — unauthenticated access, No-Auth-First satisfied.
  • Server-side search works properly, including 11 field flags and filters by collection and classification. There is no reason to mirror the database locally, and no bulk dump is offered.
  • /Collection (140 entries) and /Classification (23 entries) change rarely and are needed to make filter arguments legible to an agent, so they are cached with a 24-hour TTL and a stale-serve fallback.

Consequences:

  • Every search is a live call; provenance is live_api except for vocabulary lookups.
  • Validation errors arrive as clean RFC 9110 payloads and are surfaced rather than swallowed.

Project Structure

termdat-mcp/

├── src/termdat_mcp/ │ ├── init.py │ ├── main.py # entry point; dual transport (stdio / Streamable HTTP) │ ├── client.py # httpx client, retry, vocabulary cache │ ├── models.py # Pydantic models │ └── server.py # MCP tool definitions ├── tests/ │ ├── test_client.py # offline, respx-mocked │ └── test_live.py # hits the real TERMDAT API ├── README.md ├── README.de.md ├── CHANGELOG.md ├── LICENSE └── pyproject.toml

Safety & Limits

  • Read-only. Every tool is annotated readOnlyHint: true, destructiveHint: false; the server never writes to TERMDAT.
  • No credentials handled. The API is unauthenticated; the server stores and forwards no secrets.
  • No silent empties. api_status and error paths surface failures instead of returning an empty result that looks complete.
  • Truncation is explicit. MaxEntryCount is always sent and truncated is reported (see Known Limitations).
  • Terms of use are stated, not guessed. Every response repeats them in source: reuse and republication require the source www.termdat.ch to be named, and the Federal Chancellery's Terminology Section to be informed of purpose and manner beforehand (statement of 2026-08-21).
  • Egress allow-list. Requests can only reach api.termdat.bk.admin.ch (HTTPS), enforced before every call by a frozen ALLOWED_HOSTS set — no user input can redirect egress. See docs/network-egress.md.
  • Loopback by default. The HTTP transport binds to 127.0.0.1; 0.0.0.0 is an explicit container opt-in that warns on stderr. It also sets default-deny CORS, exposing only Mcp-Session-Id.
  • Errors are masked. Upstream/internal error detail is logged to stderr (structlog JSON) and never returned to the model.
  • Accepted risks (ADRs): DNS pinning (ADR 0001) and stateful load balancing (ADR 0002) are deliberately deferred — low risk for a single-instance, single-host, no-auth server.
  • Container. A hardened, non-root Dockerfile is provided for hosted deployments.

Known Limitations

  • Administrative scope only. See the coverage table above. check_terms returns not_found, never «incorrect», precisely because absence from TERMDAT is not evidence of error.
  • `MaxEntryCount` has a silent default of ~25. Omitting it looks like a complete result set. This server always sends the parameter explicitly and reports truncated.
  • `CollectionIds` / `ClassificationIds` have a silent default of `VARIA`. An ID-less /v2/Search covers one of 23 subject areas — the

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx