Added usage statistics to AI chat, MCP, and API