get_usage_stats
Retrieve usage statistics for PromptCore, including total prompts generated, framework and category distribution, and average complexity scores.
Instructions
Get usage statistics for PromptCore.
Shows total prompts generated, distribution by framework and category, and average complexity scores.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/promptcore/main.py:189-198 (handler)The get_usage_stats function serves as the MCP tool handler for retrieving usage statistics. It calls the storage layer via dependency injection.
@mcp.tool() def get_usage_stats() -> dict: """ Get usage statistics for PromptCore. Shows total prompts generated, distribution by framework and category, and average complexity scores. """ deps = get_dependencies() return deps.storage.get_stats()