Termdat MCP
개요
제작자가 쓴 설명(영어 원문)
MCP server for TERMDAT — the terminology database of the Swiss Federal Administration
PopNx MCP의 세 기둥
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
- 사용자 의견i아직 리뷰가 없어요리뷰는 다음 단계에서 계정 기능과 함께 열려요
- 우리의 기본 점검i2개 중 2개 통과공개된 정보로 점검했으며, 코드는 아직 스캔하지 않았어요
- 사용 정도i아주 새로움↓ 40/주 · ★ 1
할 수 있는 일
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
- 연결 방식: 내 컴퓨터에서 실행
- 전송 방식: stdio
- 카테고리: 데이터베이스 및 데이터셋
설치
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
설치하기 전에
- 기본 점검: 2개 중 2개 통과
- 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
- 레지스트리에 입력해야 할 키가 나와 있지 않아요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
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/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"termdat": {
"command": "uvx",
"args": [
"termdat-mcp"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
또는 설정을 직접 복사하기
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"termdat": {
"type": "stdio",
"command": "uvx",
"args": [
"termdat-mcp"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
어떤 앱에서 쓸 수 있나요
이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.
내 컴퓨터에서 실행하는 앱
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
할 수 있는 일
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
기본 점검i
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 11일 점검
- ✓ 통과
제작자와 저장소 일치
레지스트리 이름이 GitHub 계정 malkreide 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
- ✓ 통과
계속 관리되고 있음
코드 마지막 변경: 9일 전
- … 아직 점검 안 함
라이선스 있음
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
- – 해당 없음
엔드포인트 응답
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
- – 해당 없음
OAuth로 로그인
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
- … 아직 점검 안 함
도구 설명에 숨겨진 지시 없음
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
데이터베이스 및 데이터셋 카테고리의 다른 서버와 비교i
- 이 카테고리의 다른 서버 1161개 중 74%보다 스타가 많아요
- 이 카테고리의 다른 서버 1161개 중 37%보다 최근에 레지스트리에 공개됐어요
- 기본 점검 결과가 이 카테고리의 다른 서버 1161개 중 100%와 같거나 더 좋아요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
자주 묻는 질문
Termdat MCP, 안전한가요?
해당하는 기본 점검 2개 중 2개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
어떤 키나 코드가 필요한가요?
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
아직 관리되고 있나요?
GitHub 저장소는 마지막으로 9일 전 변경됐고, 최신 버전(0.2.0)은 2개월 전 레지스트리에 올라왔어요.
어떤 앱에서 쓸 수 있나요?
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv)도 있어야 해요.
대신 쓸 수 있는 건 뭐가 있나요?
같은 카테고리에는: Dbx, MCP Toolbox for Databases, MCP Toolbox for Databases
대안
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
제작자의 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.
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 term | Hits |
|---|---|
| Departement | 20 |
| Bildung | 13 |
| Verordnung | 8 |
| Schule | 5 |
| Behörde | 4 |
| Sonderpädagogik | 3 |
| Volksschule · Lehrperson · Schulleitung · Unterricht · Kindergarten | 0 |
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
MaxEntryCountto avoid silent truncation. - Dual transport:
stdio(local) and Streamable HTTP (cloud). Both serve MCP protocol revision2026-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) orpip- 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.
| Variable | Default | Purpose |
|---|---|---|
TERMDAT_MCP_TRANSPORT | stdio | Transport: 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 |
HOST | 127.0.0.1 | Bind host (HTTP transport only). Loopback by default; set HOST=0.0.0.0 only inside a container |
PORT | 8000 | Bind 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_LEVEL | INFO | structlog level (JSON to stderr) |
TERMDAT_MCP_VOCAB_TTL | 86400 | Vocabulary 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
| Tool | Purpose |
|---|---|
search_terms | Search TERMDAT with field flags, collection and classification filters |
translate_term | Official equivalent of an administrative term in another national language |
check_terms | Communication QA: check up to 25 terms against validated designations |
get_entries | Fetch known entries by numeric ID |
list_collections | The ~140 terminology collections (filter values) |
list_classifications | The 23 subject classifications, e.g. BILD = education |
api_status | Availability; 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.jsonand 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;
provenanceislive_apiexcept 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_statusand error paths surface failures instead of returning an empty result that looks complete. - Truncation is explicit.
MaxEntryCountis always sent andtruncatedis reported (see Known Limitations). - Terms of use are stated, not guessed. Every response repeats them in
source: reuse and republication require the sourcewww.termdat.chto 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 frozenALLOWED_HOSTSset — no user input can redirect egress. Seedocs/network-egress.md. - Loopback by default. The HTTP transport binds to
127.0.0.1;0.0.0.0is an explicit container opt-in that warns on stderr. It also sets default-deny CORS, exposing onlyMcp-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
Dockerfileis provided for hosted deployments.
Known Limitations
- Administrative scope only. See the coverage table above.
check_termsreturnsnot_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/Searchcovers one of 23 subject areas — the