Context7
Up-to-date docs for AI agents
제작자가 쓴 설명(영어 원문)
MCP server for LINDAS — the Swiss administration's linked-data SPARQL knowledge graph (cube.link)
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"lindas": {
"command": "uvx",
"args": [
"lindas-mcp"
]
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add lindas -- uvx lindas-mcp프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"lindas": {
"command": "uvx",
"args": [
"lindas-mcp"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"lindas": {
"type": "stdio",
"command": "uvx",
"args": [
"lindas-mcp"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 8일 점검
레지스트리 이름이 GitHub 계정 malkreide 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.3.0)은 2개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 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, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Part of the [Swiss Public Data MCP Portfolio](https://github.com/malkreide/swiss-public-data-mcp) — a collection of open-source MCP servers connecting AI agents to Swiss public and open data.
This is a private project. It is not affiliated with, endorsed by, or operated on behalf of any employer or public authority.
MCP server for LINDAS — the linked-data knowledge graph of the Swiss administration.
🇩🇪 Deutsche Version
LINDAS (Linked Data Service) is the Swiss Confederation's SPARQL knowledge graph, run by the Federal Archives. Instead of tables, it publishes data as RDF triples: around 2000 statistical data cubes (cube.link) from federal offices, plus the geo-linked data that powers visualize.admin.ch.
Mnemonic: «I14Y is the library catalogue, LINDAS is the library itself.»
i14y-mcp tells you a dataset exists.
LINDAS holds the data and lets you query across all of it at once.
This server wraps LINDAS in guarded tools rather than exposing raw SPARQL, because the store rewards precise queries and times out on broad ones.
*«Which forest-fire danger level currently applies, who publishes it, and
under which licence?»*
search_cubes(query="waldbrand")
→ «Waldbrandgefahr» — BAFU, published
get_cube_structure(cube_uri=...) → dimensions: Warnregion (key), Gefahrenstufe (measure) → licence: fedlex.data.admin.ch/eli/cc/1984/... (a Fedlex URI!)
query_cube_observations(cube_uri=...) → Warnregion: "Dorneck / Thierstein (SO)", Gefahrenstufe: "grosse Gefahr"
The codes come back as labels — «grosse Gefahr», not 4. And the licence is a Fedlex URI you can resolve with fedlex-mcp.
LINDAS cubes are self-describing but coded, and the server does two steps to read them:
Mnemonic: «LINDAS speaks in postcodes, not place names.» An observation
says region
1805; the server turns that into «Alpennordhang» for you.
Both steps happen inside `query_cube_observations`. It fetches the structure itself, so a caller does not have to call get_cube_structure first to get readable rows — doing so only repeats the cube-metadata and dimension queries. get_cube_structure is the tool for finding out what a cube *contains* (dimension names, key vs. measure, licence) and for writing a run_sparql query against it. It reports only whether a dimension has a code list, not the entries, so it is not a decoding aid either.
┌──────────────────────────────┐
│ MCP Host (Claude) │ └───────────────┬──────────────┘ │ stdio | streamable-http ┌───────────────▼──────────────┐ │ lindas-mcp │ │ ┌────────────────────────┐ │ │ │ server.py (7 tools) │ │ talks only to cube.py │ ├────────────────────────┤ │ │ │ lindas/cube.py │ │ ← vocabulary guardrail, │ │ │ │ two-phase access, │ │ │ │ code→label resolution │ ├────────────────────────┤ │ │ │ lindas/queries.py │ │ SPARQL templates, │ │ │ │ all anchored on a class │ ├────────────────────────┤ │ │ │ lindas/client.py │ │ raw SPARQL over HTTP, │ │ │ │ knows nothing of cubes │ └────────────────────────┘ │ └───────────────┬──────────────┘ │ HTTPS, no auth ┌───────────────▼──────────────┐ │ lindas.admin.ch/query │ │ SPARQL 1.1 · ~2000 cubes │ └──────────────────────────────┘
The lindas/ package is deliberately layered so it can be lifted into other LINDAS-backed servers unchanged. client.py knows only HTTP and SPARQL; cube.py knows the cube.link vocabulary; the tools know only cube.py. Raw SPARQL never reaches the agent except through the guarded run_sparql escape hatch.
Architecture A (live SPARQL only), with a strict vocabulary guardrail.
Verified live on 2026-07-21:
SELECT *, COUNT(*) over the whole store) time out at 60–90 s; the same question anchored on ?x a cube:Cube answers in ~2 s.Consequences, baked into the tools:
run_sparql is capped at 500 rows and 30 s and marked as advanced.Full probe report: docs/probe-lindas.md.
| Tool | Purpose |
|---|---|
search_cubes | Find cubes by topic. Entry point. Deduplicates versions. |
get_cube_structure | Phase 1: dimensions, measures, licence. |
query_cube_observations | Phase 2: data points with codes resolved to labels. |
list_publishers | Federal bodies publishing cubes, with counts. |
resolve_municipality | Name ↔ URI ↔ BFS number — the portfolio join key. |
run_sparql | Advanced escape hatch. Capped, guarded. |
api_status | Reachability check with cube count. |
All tools are annotated readOnlyHint: true.
search_cubes resultreturned is a count of what came back, not a statement about what exists. Two fields say how complete the answer is:
| Field | Meaning |
|---|---|
truncated | false — every match is in cubes. true — there is more, or there may be more and the server could not rule it out. |
total_matched | The exact total when one is available on the same unit as returned, null when no comparable number exists. |
Check `truncated` before concluding anything. On true, do not report the result as complete and do not answer "there are N cubes about X" from returned. Widen in this order: raise limit (up to 100); if it is still truncated at 100, narrow with creator_uri from list_publishers and ask one federal body at a time; use latest_only=False only when you actually want the version history, because it widens the result rather than escaping the cut.
`total_matched` is `null` more often than you might expect, and on purpose. With latest_only=true (the default) the count LINDAS can answer cheaply counts cube *versions*, while the tool returns version-collapsed cubes. Measured on 2026-09-20 with German labels: «wald» matches 127 published versions that collapse to 35 logical cubes, «energie» 33 to 13. A total_matched of 127 next to a returned of 20 would claim 107 missing cubes where at most 15 exist to find — so the field says null, which is true, instead of a number that is not. truncated stays reliable there and is the field to act on.
Where the server has seen every matching row — which is the common case, because it fetches one row beyond what it needs — total_matched is exact in both branches, and truncated is derived from it rather than from the fetch limit.
uvx lindas-mcp
{
"mcpServers": { "lindas": { "command": "uvx", "args": ["lindas-mcp"] } } }
LINDAS_MCP_TRANSPORT=streamable-http PORT=8000 lindas-mcp
LINDAS_MCP_TRANSPORT accepts stdio (default), streamable-http or sse. The transport decides the path: streamable-http serves /mcp, sse serves /sse. Anything else falls through to stdio, which opens no port at all — in a container that surfaces only as a failing health check. Both HTTP transports bind to HOST, default `127.0.0.1`; set HOST=0.0.0.0 explicitly to expose it (only behind a reverse proxy). LOG_LEVEL tunes the JSON stderr logs.
The connector URL is `https:// /mcp`. The path is not configurable — it comes from the transport, and streamable-http is the one a current client expects. sse and its /sse path are the specification's superseded transport; nothing was removed and they still serve, but a new connector should not be pointed at them.
A hosted deployment — Railway, Fly, a container behind any reverse proxy — needs three variables, and the third is the one a deployment inherits wrongly because nothing fails loudly without it:
| Variable | Hosted value | If unset |
|---|---|---|
LINDAS_MCP_TRANSPORT | streamable-http | Falls through to stdio: the process starts, opens no port, and surfaces only as a failing health check. The container image already sets it. |
HOST | 0.0.0.0 | Binds loopback only, so the published port reaches nothing. The image sets it deliberately (SEC-016). |
LINDAS_MCP_ALLOWED_HOSTS | the public hostname | `Host` validation is switched off entirely — see below. |
`LINDAS_MCP_ALLOWED_HOSTS` is a comma-separated list of hostnames, without scheme and without port: lindas-mcp.example.ch,alias.example.ch, not https://lindas-mcp.example.ch:443. The value is matched literally against the incoming Host header, and behind TLS on port 443 that header carries no port. Loopback forms are added automatically, so the container health check keeps working.
It fails in two opposite directions:
Host header is never checked, which is the SDK's own default. The only sign is a startup warning, dns_rebinding_protection_off.mcp.example.ch does not cover Host: mcp.example.ch:8443. If the proxy forwards a non-default port, name both forms.ALLOWED_ORIGINS is a separate question and concerns browser clients only. It is the CORS origin list, comma-separated, and unset means no browser client is permitted at all — that is the default. A client that is not a browser sends no Origin and is unaffected. * is still accepted and logs a warning. One detail worth knowing if you do serve browsers: the origins derived from LINDAS_MCP_ALLOWED_HOSTS are the http:// ones, so an https:// browser origin has to be named in ALLOWED_ORIGINS yourself.
docker compose up --build # binds 0.0.0.0 inside the container, publishes :8000
The image runs as a non-root user, read-only, with resource limits and a TCP health check (see Dockerfile and compose.yaml).
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요