Skip to main content

Drop-in observability for MCP servers — track tool calls, latency, errors, and usage with one line of code

Reason this release was yanked:

Pre-rename broken version, use 0.1.1+

Project description

mcp-pulse

Drop-in observability for MCP servers. Track tool calls, latency, errors, and usage with one line of code.

Install

pip install mcp-pulse

Quick Start

from mcp_pulse import ObserveMCP

# Replace FastMCP with ObserveMCP — that's it
mcp = ObserveMCP("my-server")

@mcp.tool()
def my_tool(param: str) -> str:
    """My tool description."""
    return f"result for {param}"

mcp.run(transport="stdio")

Every tool call is now automatically tracked — tool name, duration, success/failure, response size.

Dashboard

pip install mcp-pulse[dashboard]
mcp-pulse

Opens a web dashboard at http://localhost:8020 showing:

  • Total calls, error rate, avg latency
  • Calls per hour chart
  • Per-tool breakdown (call count, p50/p95 latency, error rate)
  • Recent call log

Alternative: Wrap an existing server

from mcp.server.fastmcp import FastMCP
from mcp_pulse import observe

mcp = FastMCP("my-server")

@mcp.tool()
def my_tool(param: str) -> str:
    return f"result for {param}"

observe(mcp)  # instruments all registered tools
mcp.run(transport="stdio")

Options

mcp = ObserveMCP(
    "my-server",
    db_path="/path/to/custom.db",  # default: ~/.mcp-pulse/observe.db
    log_params=True,               # log input parameters (default: False)
)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_pulse-0.1.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_pulse-0.1.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file mcp_pulse-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_pulse-0.1.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_pulse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 29d08805b387b1a330cac5e124313eb6ca49e1a3706125672b11dbb2ba399fa0
MD5 b41a96aa7543202457d215fc2db1c587
BLAKE2b-256 8d4080dd3c61267043c6e9bdf208b94e8af8544d75db03bb525b78001afb72b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_pulse-0.1.0.tar.gz:

Publisher: publish.yml on slimbiggins007/mcp-pulse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_pulse-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_pulse-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_pulse-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 711348fc998d853653ab936c9730f5b6bf5670789440cdf109260b241a3bc69a
MD5 7eac6d49126bf7a477741e1efb5b74e5
BLAKE2b-256 f273129aa75f931fa14a6b22471c62490643c7554dcdf8974e62eb0f4b5db99a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_pulse-0.1.0-py3-none-any.whl:

Publisher: publish.yml on slimbiggins007/mcp-pulse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page