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.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 swisstip-core 0.3.1
File Size Uploaded
swisstip_core-0.3.1.tar.gz 82.1 kB Details

Built distribution (wheel)

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

Total release size: 173.4 kB

Release files / swisstip_core-0.3.1.tar.gz

Download URL swisstip_core-0.3.1.tar.gz
Size 82.1 kB
Tags Source
SHA-256 checksum
How to use checksums
82239d83974785dedc108613bfd9f15559c5bf16fff42651f32a931591aa0a59
BLAKE2b-256 checksum
How to use checksums
5c1cb7d493862457c1b9fb12818b17ec409bdb149c83e597f091021f0734fecc
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.1-py3-none-any.whl

Download URL swisstip_core-0.3.1-py3-none-any.whl
Size 91.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8416dd24a8c63d7024446332be81c449cd1018fb928dbb25ea40e95be392b17
BLAKE2b-256 checksum
How to use checksums
a96f03173b21fcf4e1f65bdf83df1722f9aa55830fce0ae04f3279c8d4fd5372
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

This release

0.3.1 This release

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