Extract all MCP tool calls from local JSONL debug logs with jq

# Filter and count unique MCP tool calls across session transcripts:
cat ~/.local/share/mcp/logs/*.jsonl 
  | jq -r '.tool_calls[]? | "(.name) (.arguments)"' 
  | sort | uniq -c | sort -nr