Skip to main content
GET
/
wp-json
/
getmcp
/
v1
/
analytics
/
overview
curl --request GET \
     --url https://yoursite.com/wp-json/getmcp/v1/analytics/overview \
     --header 'Authorization: Bearer gmcp_your_api_key'
{
  "total_servers": 4,
  "active_servers": 3,
  "total_tools": 22,
  "active_tools": 19,
  "calls_today": 847,
  "calls_yesterday": 932,
  "avg_response_ms": 384,
  "success_rate": 97.52
}

Documentation Index

Fetch the complete documentation index at: https://docs.getmcp.com/llms.txt

Use this file to discover all available pages before exploring further.

Returns aggregate stats for the current day, including total calls, success rate, average response time, and server/tool counts.

Query Parameters

days
integer
default:"1"
Number of days to look back. Supported values: 7, 30, 90. Defaults to 1 (today). Use with to for custom ranges.
from
string
Start date for a custom range. Format: YYYY-MM-DD. Overrides days if provided.
to
string
End date for a custom range. Format: YYYY-MM-DD.
curl --request GET \
     --url https://yoursite.com/wp-json/getmcp/v1/analytics/overview \
     --header 'Authorization: Bearer gmcp_your_api_key'
{
  "total_servers": 4,
  "active_servers": 3,
  "total_tools": 22,
  "active_tools": 19,
  "calls_today": 847,
  "calls_yesterday": 932,
  "avg_response_ms": 384,
  "success_rate": 97.52
}

Response Fields

total_servers
integer
Total number of servers configured.
active_servers
integer
Number of servers with active status.
total_tools
integer
Total number of tools across all servers.
active_tools
integer
Number of tools with active status.
calls_today
integer
Total MCP tool calls made today.
calls_yesterday
integer
Total MCP tool calls made yesterday.
avg_response_ms
integer
Average tool execution time in milliseconds for today.
success_rate
number
Percentage of successful calls today (0–100).