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

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.0
File Size Uploaded
swisstip_core-0.3.0.tar.gz 80.2 kB Details

Built distribution (wheel)

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

Total release size: 169.4 kB

Release files / swisstip_core-0.3.0.tar.gz

Download URL swisstip_core-0.3.0.tar.gz
Size 80.2 kB
Tags Source
SHA-256 checksum
How to use checksums
da65a874a7fd8f764e9d751364c9599e3beee7d4bd8868a2a9eebd0cb21401dd
BLAKE2b-256 checksum
How to use checksums
d42b5c2e497c6aea0d8ef5a14b295bb0763a109f770e906f52a31554d9270ae7
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.0-py3-none-any.whl

Download URL swisstip_core-0.3.0-py3-none-any.whl
Size 89.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8dc03c8c989070c4ea7fac67cdb11c3b9f767ed62aefbd24231706cbe31b965d
BLAKE2b-256 checksum
How to use checksums
6c3e606781956b726aff2a71274e148f9bec96c7ef228c112d73d7e15e18c9be
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

0.3.2

2 release files

0.3.1

2 release files

This release

0.3.0 This release

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