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.4

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.4
File Size Uploaded
swisstip_core-0.3.4.tar.gz 83.2 kB Details

Built distribution (wheel)

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

Total release size: 175.5 kB

Release files / swisstip_core-0.3.4.tar.gz

Download URL swisstip_core-0.3.4.tar.gz
Size 83.2 kB
Tags Source
SHA-256 checksum
How to use checksums
52b1d13d7b83437235344815dfc119f8febb90dc044bd33a7448f17ea20a926a
BLAKE2b-256 checksum
How to use checksums
9c4ae7c43e0f6ff46ba400abec14e95a3fa81789f236eb3e163d695247c127fd
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 25, 2026.

Transparency log

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

Download URL swisstip_core-0.3.4-py3-none-any.whl
Size 92.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
62c1fee6e9f5e5382cc0bd013562af387c08116b30c5446ca66800d23a728d84
BLAKE2b-256 checksum
How to use checksums
27d502991d4d68fe37cbe172aecb9784f6ebd398f3693d8103185f8454c2844e
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 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.4 This release

2 release files

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

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