github Python re-analysis due

malkreide/fedlex-mcp

github

MCP server for Swiss federal law (Fedlex) — search the SR, monitor legal changes, and query BBl/treaties via Claude Desktop or Claude.ai

maintainer
malkreide
license
MIT
first seen
2026-06-04
last seen
2026-08-24
releases · 30d
4
short id

Drift inferred · capture-to-capture

No drift recorded — single capability capture; advisories appear once its surface changes.

capabilities 0 tools
transport stdio · streamable-http · http verified reported listed in the official MCP registry counts 0 tools · 0 res · 0 prompts permission surface via code analysis

No tools enumerated yet for this server.

skills & danger signals github-tarball
prompt-surface shipped agent-instruction files + hidden-content / dangerous-code findings — quoted from the analyzed source

analyzed commit 3b06a83 · analyzer v33 · 1w ago

skills & prompt files 1

code evidence vv2.0.1 · github-tarball
evidence-backed findings quoted directly from the published source artifact — not inferred

code files: 18

filesystem 11

  • fs malkreide-fedlex-mcp-3b06a83/audits/2026-06-03T085447-Z-fedlex-mcp/gen_findings.py :14 from pathlib import Path
  • fs malkreide-fedlex-mcp-3b06a83/audits/2026-06-03T100302-Z-fedlex-mcp/gen_findings.py :14 from pathlib import Path
  • fs (weak) malkreide-fedlex-mcp-3b06a83/scripts/check_ruff_pin.py :35 import shutil
  • fs (weak) malkreide-fedlex-mcp-3b06a83/scripts/check_version_sync.py :49 from pathlib import Path
  • fs (weak) malkreide-fedlex-mcp-3b06a83/scripts/classify_live_run.py :55 from pathlib import Path
  • fs (weak) malkreide-fedlex-mcp-3b06a83/scripts/record_fixtures.py :40 from pathlib import Path
  • fs (weak) malkreide-fedlex-mcp-3b06a83/scripts/snapshot_tools.py :19 from pathlib import Path
  • fs (weak) malkreide-fedlex-mcp-3b06a83/tests/fixture_data.py :18 from pathlib import Path
  • fs (weak) malkreide-fedlex-mcp-3b06a83/tests/test_classify_live_run.py :21 from pathlib import Path
  • fs (weak) malkreide-fedlex-mcp-3b06a83/tests/test_recorded_fixtures.py :245 from pathlib import Path
  • fs (weak) malkreide-fedlex-mcp-3b06a83/tests/test_server.py :21 from pathlib import Path

shell / exec 3

  • shell (weak) malkreide-fedlex-mcp-3b06a83/scripts/check_ruff_pin.py :36 import subprocess
  • shell (weak) malkreide-fedlex-mcp-3b06a83/scripts/record_fixtures.py :37 import subprocess
  • shell (weak) malkreide-fedlex-mcp-3b06a83/tests/test_server.py :18 import subprocess

network 6

  • net (weak) malkreide-fedlex-mcp-3b06a83/scripts/record_fixtures.py :43 import httpx
  • net malkreide-fedlex-mcp-3b06a83/src/fedlex_mcp/server.py :51 import httpx
  • net malkreide-fedlex-mcp-3b06a83/src/fedlex_mcp/sparql_client.py :30 import httpx
  • net (weak) malkreide-fedlex-mcp-3b06a83/tests/test_recorded_fixtures.py :24 import httpx
  • net (weak) malkreide-fedlex-mcp-3b06a83/tests/test_retry_policy.py :13 import httpx
  • net (weak) malkreide-fedlex-mcp-3b06a83/tests/test_server.py :23 import httpx

declared dependencies 14

  • mcp@>=2.0.0,<3
  • httpx@>=0.28.1
  • pydantic@>=2.13.4
  • pydantic-settings@>=2.0.0
  • structlog@>=25.5.0,<27
  • pytest@>=8.0.0
  • pytest-asyncio@>=0.23.0
  • pytest-cov@>=7.1.0
  • respx@>=0.21.0
  • .@*
  • ruff@==0.16.1
  • opentelemetry-sdk@>=1.25.0
  • opentelemetry-exporter-otlp-proto-http@>=1.25.0
  • opentelemetry-instrumentation-httpx@>=0.46b0