Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

seattle-open-data

CI Python License: MIT

An agent-friendly MCP server for Seattle Open Data (Socrata SODA2).

Status: deprecated (0.2.1). All four tools work against the live portal, with curated guides for seven flagship datasets. See evals/results for the agent evaluation.

Tools

Tool Purpose
seattle_data_search_datasets Find datasets by topic
seattle_data_describe_dataset Columns, row count, time coverage, place fields, geo columns
seattle_data_query_dataset Bounded reads and aggregates (SoQL clauses or raw SoQL)
seattle_data_get_reference Capability summary, SoQL help, guides, error catalog

Install

The server runs over stdio. The uvx commands below need uv.

Claude Desktop: download seattle-open-data-<version>.mcpb from the latest release and open it with Claude Desktop.

Claude Code:

claude mcp add seattle-open-data -- uvx seattle-open-data

Codex:

codex mcp add seattle-open-data -- uvx seattle-open-data

Any other MCP client: run uvx seattle-open-data as a stdio server:

{
  "mcpServers": {
    "seattle-open-data": { "command": "uvx", "args": ["seattle-open-data"] }
  }
}

Optional app token: set SOCRATA_APP_TOKEN to use a Socrata application token, for example claude mcp add seattle-open-data -e SOCRATA_APP_TOKEN=... -- uvx seattle-open-data. The bundle asks for it in Claude Desktop's settings. A rejected token is reported as app_token_rejected, never silently dropped.

Develop

From a checkout:

uv sync
uv run seattle-open-data                                  # run the server over stdio
uv run pytest
uv run ruff check && uv run ruff format --check && uv run ty check
UPDATE_SNAPSHOTS=1 uv run pytest tests/test_contract.py   # after an intended tool-surface change
uv run pytest --run-integration -m integration            # live tests against data.seattle.gov
uv run python evals/run.py [--host claude|codex] <out_dir> [task_id ...]
uv run python evals/report.py <out_dir> --answers

To build the MCPB bundle locally (needs the mcpb CLI): make mcpb.

Release

Tag vX.Y.Z after bumping the version: the release workflow builds and smoke-tests the wheel, sdist, and .mcpb, publishes to PyPI after maintainer approval, and attaches all three to a GitHub Release. See docs/releasing.md for the steps, the TestPyPI rehearsal, and one-time setup.

License

MIT

Metadata

Release files for seattle-open-data 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seattle-open-data 0.2.1
File Size Uploaded Provenance Actions
seattle_open_data-0.2.1.tar.gz 54.9 kB With provenance Details for seattle_open_data-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for seattle-open-data 0.2.1
File Interpreter ABI Platform Actions
seattle_open_data-0.2.1-py3-none-any.whl Python 3 none any Details for seattle_open_data-0.2.1-py3-none-any.whl

Total release size: 119.2 kB

Release files / seattle_open_data-0.2.1.tar.gz

Download URL seattle_open_data-0.2.1.tar.gz
Size 54.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1a3150532778b49a9725a2eee5b3b562e77bf27040f00cf2171f9c53ab00c9a6
BLAKE2b-256 checksum
How to use checksums
79fa8211f7633baef711fe206f55409356ed3942f7e035aef5a115afe1c18e41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / seattle_open_data-0.2.1-py3-none-any.whl

Download URL seattle_open_data-0.2.1-py3-none-any.whl
Size 64.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77a216501c147cbeb3cdcec2b69ff56af558d0e7f4dfced61ebfc508fa214c9a
BLAKE2b-256 checksum
How to use checksums
3708885e57bf0e0a826d333cbc45a3a40efb4fe6469aacebd9fed84f5eb3b966
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Security for seattle-open-data 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for seattle_open_data-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page