Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Sozio Thin

FreeNot checked

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

GitHubEmbed

About

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

Install Sozio Thin in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install sozio-thin

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add sozio-thin -- uvx --from git+https://github.com/FabianBartschDatenanalyse/sozio-thin sozio-thin

FAQ

Is Sozio Thin MCP free?

Yes, Sozio Thin MCP is free — one-click install via Unyly at no cost.

Does Sozio Thin need an API key?

No, Sozio Thin runs without API keys or environment variables.

Is Sozio Thin hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Sozio Thin in Claude Desktop, Claude Code or Cursor?

Open Sozio Thin on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Sozio Thin with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All data MCPs