Skip to main content

Analytics Tool for MCP Servers - provides insights into MCP tool usage patterns

Project description

MCPcat Logo

Getting Started · Features · Website · Docs · Open Source · Discord

PyPI version PyPI downloads License: MIT Python GitHub issues CI

[!NOTE] Looking for the TypeScript SDK? Check it out here mcpcat-typescript.

MCPcat is an analytics platform for MCP server owners 🐱. It captures user intentions and behavior patterns to help you understand what AI users actually need from your tools — eliminating guesswork and accelerating product development all with one-line of code.

pip install mcpcat

To learn more about us, check us out here

Why use MCPcat? 🤔

MCPcat helps developers and product owners build, improve, and monitor their MCP servers by capturing user analytics and tracing tool calls.

Use MCPcat for:

  • User session replay 🎬. Follow alongside your users to understand why they're using your MCP servers, what functionality you're missing, and what clients they're coming from.
  • Trace debugging 🔍. See where your users are getting stuck, track and find when LLMs get confused by your API, and debug sessions across all deployments of your MCP server.

Getting Started

To get started with MCPcat, first create an account and obtain your project ID by signing up at mcpcat.io. For detailed setup instructions visit our documentation.

Once you have your project ID, integrate MCPcat into your MCP server:

import mcpcat
from mcp.server import FastMCP

server = FastMCP(name="echo-mcp", version="1.0.0")

# Register tools

# NOTE: track() must be called *after* tools are setup
mcpcat.track(server, "proj_0000000")

Identifying users

You can identify your user sessions with a simple callback MCPcat exposes, called identify.

def identify_user(request, extra):
    user = myapi.get_user(request.params.arguments.token)
    return UserIdentity(
            user_id=user.id,
            user_name=user.name,
            user_data={
                "favorite_color": user.favorite_color,
            },
    )

mcpcat.track(server, "proj_0000000", MCPCatOptions(identify=identify_user))

Redacting sensitive data

MCPcat redacts all data sent to its servers and encrypts at rest, but for additional security, it offers a hook to do your own redaction on all text data returned back to our servers.

# Sync version
def redact_sync(text):
    return custom_redact(text)

mcpcat.track(server, "proj_0000000", redact_sensitive_information=redact_sync)

Free for open source

MCPcat is free for qualified open source projects. We believe in supporting the ecosystem that makes MCP possible. If you maintain an open source MCP server, you can access our full analytics platform at no cost.

How to apply: Email hi@mcpcat.io with your repository link

Already using MCPcat? We'll upgrade your account immediately.

Community Cats 🐱

Meet the cats behind MCPcat! Add your cat to our community by submitting a PR with your cat's photo in the docs/cats/ directory.

bibi zelda

Want to add your cat? Create a PR adding your cat's photo to docs/cats/ and update this section!

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

mcpcat-0.1.4.tar.gz (3.2 MB view details)

Uploaded Source

Built Distribution

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

mcpcat-0.1.4-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file mcpcat-0.1.4.tar.gz.

File metadata

  • Download URL: mcpcat-0.1.4.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.8

File hashes

Hashes for mcpcat-0.1.4.tar.gz
Algorithm Hash digest
SHA256 31d7ca853c5f3f2b7e602517b752815a37cd23e6e2be8e00609c8598b4db00e6
MD5 133b75ee2ca77d5ec37071a0b342c17d
BLAKE2b-256 100984f6bb0c1c69d3eca7abbfc5511e083786492a0b8478fa96b8741cb06e13

See more details on using hashes here.

File details

Details for the file mcpcat-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: mcpcat-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.8

File hashes

Hashes for mcpcat-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5fb1fc5b05816c1c13b3e2389d0435f388e9b01c18a40a61ed9ba92d30204aae
MD5 05d8f521b90207c1389ad4a58c4ac793
BLAKE2b-256 95b5ec8de01c991e3811c16c4a88f4c7937c0fa89f1510ac733d3bf9072f0718

See more details on using hashes here.

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