Skip to main content

mcp-observatory-sdk

Tiny SDK that instruments MCP servers with Prometheus metrics + OpenTelemetry spans.

One-line adoption in a FastMCP server:

from fastmcp import FastMCP
from observatory_sdk import instrument

server = FastMCP("my-server")
instrument(server, service_name="my-server", prometheus_port=9090)
# ... register tools as usual ...

Zero runtime deps beyond prometheus-client and opentelemetry-api.

Companion project: mcp-observatory — the query-router MCP server that consumes the metrics this SDK emits.

Metadata

Release files for mcp-observatory-sdk 1.0.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 mcp-observatory-sdk 1.0.0
File Size Uploaded Provenance
mcp_observatory_sdk-1.0.0.tar.gz 4.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-observatory-sdk 1.0.0
File Interpreter ABI Platform
mcp_observatory_sdk-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / mcp_observatory_sdk-1.0.0.tar.gz

Download URL mcp_observatory_sdk-1.0.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
86da33c87df705d6a87c879045c0fc08f62d3eadcb6e86baccc0a1a5d2061e20
BLAKE2b-256 checksum
How to use checksums
46e8c5db789a30c37b26305cbff413b572dff664839ade5b0191d59abf113a81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 21, 2026.

Transparency log

Release files / mcp_observatory_sdk-1.0.0-py3-none-any.whl

Download URL mcp_observatory_sdk-1.0.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4d31a1aa70b6c41d54212b4e3f181621309390949106d16d92a224b74c123b4
BLAKE2b-256 checksum
How to use checksums
cc16454ed22cb2d72081b3afc5a463f65bf15b85f629120c7f65629cf85fbb19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 21, 2026.

Transparency log

Security for mcp-observatory-sdk 1.0.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mcp_observatory_sdk-1.0.0.tar.gz

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 Apr 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files Full provenance

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