Skip to main content

swisstip-core

Last update: 15 September 2026

The shared library of Swiss TIP, the grounding MCP server for Swiss public information. It ships two modules:

  • swisstip.core: the Pydantic models of the knowledge release format and of the four tool contracts, the release validator and the readiness record.
  • swisstip.runtime: the four tool operations (get_coverage, search, resolve, get_evidence) over a validated release, without any transport.

Most users install swisstip-mcp (the server) or swisstip-builder (the workstation tools), which depend on this package at the same version.

Use

Python 3.14 or newer.

pip install swisstip-core
swisstip-validate-release release.json
from pathlib import Path

from swisstip.core.contracts import SearchRequest
from swisstip.runtime.service import ReleaseService

service = ReleaseService.from_file(Path("release.json"))
print(service.search(SearchRequest(query="Anmeldung Gemeinde Zürich")))

Knowledge releases are not on PyPI; they are published with the repository's GitHub releases.

Licence: Apache-2.0.

Release files for swisstip-core 0.2.2

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

Source distribution (sdist)

Source distribution for swisstip-core 0.2.2
File Size Uploaded
swisstip_core-0.2.2.tar.gz 56.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for swisstip-core 0.2.2
File Interpreter ABI Platform
swisstip_core-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 120.3 kB

Release files / swisstip_core-0.2.2.tar.gz

Download URL swisstip_core-0.2.2.tar.gz
Size 56.8 kB
Tags Source
SHA-256 checksum
How to use checksums
45c732f432de80e410935f168e8a8310717e7ca468f0222935bc8ab47a0be51b
BLAKE2b-256 checksum
How to use checksums
bcd5778f12e236af3b27b3c0601b4580b64cbf636bae3d0b42d9b30f5b6b7e06
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 Sep 17, 2026.

Transparency log

Release files / swisstip_core-0.2.2-py3-none-any.whl

Download URL swisstip_core-0.2.2-py3-none-any.whl
Size 63.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69fd9d646619b9b8da2e07881bde884ed662cfd9647d0c161cac33700d8d3364
BLAKE2b-256 checksum
How to use checksums
06073244a18048a07716687b7b37299c72accd73028cc19a5c7fcc4f8a649b55
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 Sep 17, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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