Loggly (Cloud Log Management API)

Loggly (Cloud Log Management API) MCP Connector for Claude

A+

Manage cloud logs via Loggly — send events, execute Lucene searches, and analyze infrastructure metrics directly from your AI agent.

8 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your Loggly account to any AI agent to streamline your observability and debugging workflows. This MCP server allows you to interact with your logs using natural language, making it easier to find errors, monitor performance, and manage your logging infrastructure.

What you can do

  • Log Ingestion — Send single or bulk log events (plaintext or JSON) directly to Loggly for real-time indexing.
  • Advanced Search — Execute complex queries using Lucene syntax to filter through millions of events across specific timeframes.
  • Result Retrieval — Fetch paginated search results using Result Set IDs (rsid) for deep analysis of system behavior.
  • Field Analysis & Faceting — List available log fields and get value counts (faceting) to understand data distribution and common errors.
  • Account Management — Retrieve customer info, subscription limits, and list active users and roles within your Loggly organization.

How it works

  1. Subscribe to this server
  2. Provide your Loggly Subdomain, API Token, and Customer Token
  3. Start querying and sending logs from Claude, Cursor, or any MCP-compatible client

No more jumping between browser tabs to correlate logs. Your AI can now act as a proactive SRE or DevOps engineer, identifying patterns and troubleshooting issues in seconds.

Who is this for?

  • DevOps & SREs — Quickly search for production errors and analyze log trends without leaving the terminal or chat interface.
  • Backend Developers — Send debug events during development and verify log ingestion in real-time.
  • Security Analysts — Audit user roles and search for suspicious patterns using structured log queries.
logginganalyticslucene-searchcloud-monitoringlog-analysis

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

get_customer_info

Retrieve Loggly account details

get_events

Max 5,000 events per search. Retrieve events for a given search rsid

get_field_values

Get counts of values for a specific field (Faceting)

list_fields

List available fields in Loggly

list_users

Retrieve a list of active users

search_events

Use get_events with the rsid to fetch the actual logs. Initiate an asynchronous search query

send_bulk_events

The events_data must be line-separated (up to 5MB per batch). Send batches of line-separated events to Loggly

send_event

Use is_json=true if event_data is a JSON string. Max size 1MB. Send a single or multiline event to Loggly

See how to talk to your AI agent using Loggly (Cloud Log Management API).

Search for all logs containing 'error' in the last 4 hours.

I've initiated a search for 'error' from the last 4 hours. The Result Set ID is `123456789`. I'll now fetch the events for you...

Send a JSON log event with tag 'production' saying {'status': 'ok', 'service': 'api'}.

Successfully sent the JSON event to Loggly with the 'production' tag. The response was 'ok'.

List all active users and their roles in my Loggly account.

I've retrieved the user list. You have 3 active users: 'admin_user' (Role: Administrator), 'dev_user' (Role: User), and 'audit_bot' (Role: Read-Only).

Searching is a two-step process: first, use `search_events` with your Lucene query to get a Result Set ID (rsid). Then, use `get_events` with that rsid to retrieve the actual log data.

Related Connectors