Skip to main content

spotdowntime-mcp

See how your MCP server's tools behave for real users: calls, error rate and latency per tool, with an alert when a tool starts failing. It works with servers built on the official Python SDK, mcp, including FastMCP.

pip install spotdowntime-mcp
from mcp.server.fastmcp import FastMCP
from spotdowntime_mcp import instrument

mcp = FastMCP("docs")
instrument(mcp)  # reads SPOTDOWNTIME_MCP_KEY

@mcp.tool()
def search_docs(query: str) -> str:
    ...

Get the key from your MCP server monitor's page in Spot Downtime (Tool calls → Set up), and set it as SPOTDOWNTIME_MCP_KEY where the server runs. Calls show up on the monitor's page within a minute.

What's sent

For each tools/call: the tool's name, how long it took in milliseconds, and whether it worked. A call fails when the tool raises or returns an error result (isError).

Nothing else: no arguments, results, error messages, session IDs or anything about who called. Calls are sent in batches every 10 seconds from a background thread in your server, never from your users.

Options

reporter = instrument(
    mcp,
    key="mcpk_…",          # default: SPOTDOWNTIME_MCP_KEY
    flush_interval=10.0,   # seconds between batches
    on_error=lambda err: None,  # a batch couldn't be sent (it's dropped); default: one warning
)

reporter.stop()  # on shutdown: sends what's left (also done at exit)

Reporting never raises into your server and never delays a tool call. If Spot Downtime can't be reached, batches are dropped. No dependencies beyond the standard library; Python 3.10 or later.

Works with FastMCP and the low-level Server, whether you call instrument before or after registering tools.

Metadata

Release files for spotdowntime-mcp 0.1.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 spotdowntime-mcp 0.1.0
File Size Uploaded Provenance Actions
spotdowntime_mcp-0.1.0.tar.gz 7.2 kB With provenance Details for spotdowntime_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for spotdowntime-mcp 0.1.0
File Interpreter ABI Platform Actions
spotdowntime_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for spotdowntime_mcp-0.1.0-py3-none-any.whl

Total release size: 13.1 kB

Release files / spotdowntime_mcp-0.1.0.tar.gz

Download URL spotdowntime_mcp-0.1.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fcbd837121a434fc0f73cc9b459f5614d2bfb22ae6d2e6c5f5be832e98018080
BLAKE2b-256 checksum
How to use checksums
d6cee3632d530829c9c67e8dcdaea5b318acfb1266319f82b616b86bc1e4c8a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 5, 2026.

Transparency log

Release files / spotdowntime_mcp-0.1.0-py3-none-any.whl

Download URL spotdowntime_mcp-0.1.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
225ad6d51eff173f67fee0fb5f1bbe209fd07d9e17c9300fd08a2d226a24d456
BLAKE2b-256 checksum
How to use checksums
82231b666e5bbfcf1a8a727e332f252efaa92f74bd0eebe2fea37b7915ac1872
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 5, 2026.

Transparency log

Security for spotdowntime-mcp 0.1.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for spotdowntime_mcp-0.1.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 Dec 5, 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

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