Sozio Thin

Sozio Thin

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.

Category
访问服务器

README

Sozio Thin

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.

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.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选