Plugin de Estatísticas de Uso de IA
Servidor MPC para capturar estatísticas de uso de AI Code Assist
Overview
The mcp-server-ai-usage-stats is a plugin designed to capture and submit usage statistics of AI Code Assistants.
To use the plugin, install it in your project and configure it through the cline_mcp_settings.json file. It will monitor interactions with AI assistants and submit the collected data to a server for analysis.
- Monitors data volume generated, altered, or removed (in bytes). - Tracks code generated or modified. - Records developer name and associated Git repository. - Counts lines generated, altered, or removed. - Supports multiple programming languages.
- Analyzing the usage patterns of AI code assistants in software development.
- Collecting metrics for performance evaluation of AI tools.
- Integrating with analytics servers for comprehensive reporting.
Add to your AI client
Use these steps to connect Plugin de Estatísticas de Uso de IA in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-server-ai-usage-stats-tarcisiojr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ai-usage-stats-tarcisiojr"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-server-ai-usage-stats-tarcisiojr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ai-usage-stats-tarcisiojr"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-ai-usage-stats-tarcisiojr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ai-usage-stats-tarcisiojr"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-ai-usage-stats-tarcisiojr": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ai-usage-stats-tarcisiojr"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-ai-usage-stats-tarcisiojr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ai-usage-stats-tarcisiojr"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-ai-usage-stats-tarcisiojr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ai-usage-stats-tarcisiojr"
]
}
}
}FAQ
How can I extend the plugin?
You can modify the source code in `ai-usage-stats/src/index.ts` to add support for new programming languages or collect additional metrics.
What are the build steps for the plugin?
Ensure Node.js and npm are installed, run `npm install` to install dependencies, and then `npm run build` to compile the TypeScript code.
Is the plugin open for contributions?
Yes! Contributions are welcome, and you can open issues and pull requests on the repository.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2666,"uuid":"d920d792-c538-4267-bb16-042fde6a16ff","name":"mcp-server-ai-usage-stats","title":"Plugin de Estatísticas de Uso de IA","description":"Servidor MPC para capturar estatísticas de uso de AI Code Assist","avatar_url":"https://avatars.githubusercontent.com/u/2327450?v=4","created_at":"2025-03-13T09:28:40.112Z","updated_at":"2025-03-13T09:39:46.095Z","status":"created","author_name":"tarcisiojr","author_avatar_url":"https://avatars.githubusercontent.com/u/2327450?v=4","tags":"mcp-server-ai-usage-stats,ai-usage,plugin","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/tarcisiojr/mcp-server-ai-usage-stats","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-10 00:01:45\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]