Skip to main content

swisstip-core

Last update: 20 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 GitHub releases of the packs repository, swiss-tip-mvp.

Licence: Apache-2.0.

Release files for swisstip-core 0.3.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.3.2
File Size Uploaded
swisstip_core-0.3.2.tar.gz 82.1 kB Details

Built distribution (wheel)

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

Total release size: 173.4 kB

Release files / swisstip_core-0.3.2.tar.gz

Download URL swisstip_core-0.3.2.tar.gz
Size 82.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c3d5596fcb5a48cebe217a10ea7c776bef05ad7512078ac9ecb788585ca776e0
BLAKE2b-256 checksum
How to use checksums
d17a9ae4ba07d533f2ac4115c621c18b54be21d13e2d482477b7bd309b9694e8
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 24, 2026.

Transparency log

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

Download URL swisstip_core-0.3.2-py3-none-any.whl
Size 91.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb6bcdf07d684cfb532b393ed932444f1234535f3b93ef8178b0e824ab84d106
BLAKE2b-256 checksum
How to use checksums
c9a60467161853d96ec7be1a0def761e1b1b963dbf7053e86571693a398f721f
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 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.2 This release

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

0.2.2

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