Moesif

Moesif MCP Connector for Claude

A+

Monitor and analyze API traffic with Moesif — log events, track user/company profiles, and query API analytics directly from your AI agent.

6 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect Moesif to your AI agent to gain deep visibility into your API ecosystem. This server allows you to log traffic, manage user/company metadata, and perform complex analytical queries using Elasticsearch DSL without leaving your conversation.

What you can do

  • Event Logging — Record single or batch API requests and responses to the Moesif Collector for real-time monitoring.
  • User & Company Tracking — Upsert profiles with custom metadata (MRR, email, plan type) to link API usage to specific customers.
  • Advanced Analytics — Search through historical events or count occurrences using powerful Elasticsearch DSL filters.
  • Time-Series Queries — Filter data by specific time ranges (e.g., last 24 hours, last month) and time zones.

How it works

  1. Subscribe to this server
  2. Provide your Moesif Application ID and Management API Key
  3. Start debugging and analyzing your API traffic through Claude, Cursor, or any MCP client

Who is this for?

  • Developers — Debug failing API calls and inspect request/response payloads directly from the IDE.
  • Product Managers — Track feature adoption and API usage trends without building custom dashboards.
  • Customer Success — Quickly identify which users are experiencing errors or hitting rate limits.
api-monitoringapi-analyticselasticsearch-dsluser-trackingdebugging

6 tools expose this connector's capabilities to your AI agent.

count_events

Count events matching a filter

log_event

Log a single API call to Moesif

log_events_batch

Log API calls in batch to Moesif

search_events

Use post_filter, size, and sort. Search events using Elasticsearch DSL

update_company

Upsert a company profile in Moesif

update_user

Upsert a user profile in Moesif

See how to talk to your AI agent using Moesif.

Count how many API calls resulted in a 401 Unauthorized error in the last 7 days.

I've queried Moesif using `count_events`. There were 142 instances of 401 Unauthorized errors between -7d and now.

Update user 'user_123' in Moesif with email 'dev@example.com' and plan 'Enterprise'.

I've updated the profile for 'user_123' using `update_user`. The metadata now includes the new email and plan details.

Search for the last 5 API requests made to the '/v1/payments' endpoint.

Using `search_events`, I found the 5 most recent requests to '/v1/payments'. Most were successful (200 OK), but one returned a 402 Payment Required. Would you like to see the body of that specific event?

You can use the `search_events` tool. Provide a `query_body` with a filter for status codes (e.g., 500) and set the `from` parameter to '-24h'.

Related Connectors