Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Sozio Thin

БесплатноНе проверен

Enables reproducible analysis of 100 curated Swiss open-data resources by searching profiles, materializing PXWeb data, validating and executing SQL, and format

GitHubEmbed

Описание

Enables reproducible analysis of 100 curated Swiss open-data resources by searching profiles, materializing PXWeb data, validating and executing SQL, and formatting reproduction details, with reasoning delegated to the MCP client.

README

Sozio Thin is a standalone MCP server for reproducible analysis of 100 curated Swiss open-data resources. It runs locally without Vespa, Docker, Gemini, or an LLM API key. The MCP client (Codex or Claude Code) performs reasoning and SQL generation; the server only searches profiles, exposes context, materializes PXWeb data, validates SQL, executes DuckDB, and formats reproduction details.

Resource wiki

Browse the 100 included resources by topic in the human-readable resource wiki. Each resource page shows its publisher, source links, dimensions, measures, years, join keys, example values, and the recommended MCP workflow.

Claude Desktop

For Claude Desktop on Windows, download Sozio-Thin-...-Windows-x64.mcpb from the latest GitHub release. Then use one of these installation methods:

  1. Double-click the downloaded .mcpb file.
  2. Drag the file into the Claude Desktop window.
  3. In Claude Desktop, open Developer > Extensions > Install Extension and select the file.

Claude Desktop shows an installation dialog and manages the local extension. No JSON configuration, OAuth flow, remote server, or API key is required. After installation, open + > Connectors in a chat and select Sozio Thin.

Windows installer for Codex and Claude Code

For Codex or Claude Code, use the Windows wizard from the latest GitHub release:

  1. Download Sozio-Thin-Setup-...-Windows-x64.exe.
  2. Run the installer without administrator rights.
  3. Select Codex and/or Claude Code integration.
  4. Restart the selected client and check for the sozio-thin MCP server.

The installer includes Python, all runtime dependencies, and the 100-resource catalog. Git, uv, Python, Docker, and API keys are not required. The current installer is not code-signed, so Windows may show an "Unknown publisher" warning. Verify the SHA-256 checksum published in the release notes.

Requirements

The following requirements apply only to installation from source:

  • Python 3.12 or newer
  • uv
  • Internet access when a selected public dataset must be read

The catalog contains profiles and source links, not copies of the datasets. Version 0.1 includes PXWeb, CSV, Parquet, and JSON resources. Spreadsheets are excluded because multi-row headers cannot be reproduced reliably by a generic DuckDB reader.

Setup

cd products/sozio-thin
uv sync
uv run sozio-thin doctor
uv run sozio-thin search "Bevölkerung nach Alter und Kanton"

Start the stdio MCP server:

uv run sozio-thin mcp-server

No environment variable is required. Runtime files are written below state/. Set SOZIO_THIN_STATE_DIR to use another writable directory. Slow PXWeb installations can be tuned with SOZIO_THIN_PXWEB_TIMEOUT_SECONDS and SOZIO_THIN_PXWEB_RETRY_ATTEMPTS.

Codex configuration

Add this server to the Codex MCP configuration, replacing the path:

[mcp_servers.sozio-thin]
command = "uv"
args = [
  "--directory",
  "C:\\path\\to\\sozio-thin",
  "run",
  "sozio-thin",
  "mcp-server",
]

The server uses the model already running in Codex. It cannot access or bill a Codex subscription itself.

Claude Code configuration

claude mcp add sozio-thin -- uv --directory C:\path\to\sozio-thin run sozio-thin mcp-server

Restart the client after changing MCP configuration.

Recommended workflow

  1. Call search_resources for one or more parts of the research question.
  2. Call get_context_bundle with the chosen resource IDs.
  3. Materialize every selected PXWeb resource with a narrow scope.
  4. Inspect live schemas and relevant values with inspect_source.
  5. Formulate joins only after checking grain and key coding.
  6. Call validate_sql, then execute_sql.
  7. Review the returned rows in the MCP client.
  8. Call format_reproduction_bundle.

The server deliberately has no answer_question, LLM review, reranking, or literature-research tool. Those steps belong to the MCP client.

Catalog

Every product-owned input is inspectable:

  • catalog/resources.json: local BM25 search documents
  • catalog/profiles/*.json: complete planning profiles
  • catalog/topics.json: fixed topic assignments and quotas
  • catalog/joins.json: suggested join pairs
  • catalog/licenses.json: source attribution and license-review links
  • catalog/selection.json: deterministic selection evidence

The source data remains governed by its publisher's terms. Verify the linked terms before redistribution or commercial reuse.

Catalog maintenance

The shipped catalog was generated from the full project's readiness report. To rebuild it when those private build inputs are available:

python scripts/select_resources.py `
  --readiness-report C:\path\to\resource_readiness_report.json `
  --profile-root C:\path\to\raw_profiles `
  --output catalog
python scripts/verify_catalog.py

The runtime does not need those full-project inputs.

Tests

uv run pytest
uv run ruff check .

Online source probes are marked online and are not part of the default unit test run.

Build the Windows installer with:

powershell -NoProfile -ExecutionPolicy Bypass -File scripts\build_windows_installer.ps1

The build also creates the official Claude Desktop .mcpb package and validates its manifest with the pinned MCPB CLI.

Rebuild the resource wiki with:

uv run python scripts\build_wiki.py

from github.com/FabianBartschDatenanalyse/sozio-thin

Установка Sozio Thin

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/FabianBartschDatenanalyse/sozio-thin

FAQ

Sozio Thin MCP бесплатный?

Да, Sozio Thin MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Sozio Thin?

Нет, Sozio Thin работает без API-ключей и переменных окружения.

Sozio Thin — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Sozio Thin в Claude Desktop, Claude Code или Cursor?

Открой Sozio Thin на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Sozio Thin with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории data