---
title: "Get Chat Statistics"
description: "Get usage statistics for AI Chat / chat."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.speakai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Chat Statistics

Use the Speak AI MCP server tool `get_chat_statistics` to get usage statistics for
AI Chat / chat.

## What does it do?

Get usage statistics for AI Chat / chat. Returns metrics on prompt usage, optionally
filtered by date range.

## Parameters

`get_chat_statistics` takes 2 parameters, all of them optional.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `startDate` | string | No | Start date for stats (ISO 8601) |
| `endDate` | string | No | End date for stats (ISO 8601) |

## Behaviour

The Speak AI MCP server publishes these behaviour hints for `get_chat_statistics`.

- Only reads data. Does not modify your workspace.
- Does not delete or overwrite existing data.
- Repeating an identical call is safe.
- Stays inside Speak AI. Does not reach other systems.

## Related

- [Ask AI Chat](/mcp/tools/magic-prompt/) lists the rest of the Ask AI Chat
  category.
- [Tool reference](/mcp/tools/) lists every Speak AI MCP server tool.
- [MCP server](/mcp/) covers setup, supported clients, and what agents can do once
  connected.

Source: https://docs.speakai.co/mcp/tools/magic-prompt/get_chat_statistics/index.mdx
