mcp-server-ai-usage-stats logo

mcp-server-ai-usage-stats

by tarcisiojr

This plugin collects and submits usage statistics of AI assistants. It monitors interaction with AI assistants, recording information like data volume, code changes, developer name, Git repository, lines of code, and programming language.

View on GitHub

Last updated: N/A

What is mcp-server-ai-usage-stats?

This plugin is designed to collect and submit statistics related to the usage of AI assistants within a development environment. It tracks various metrics to provide insights into how AI is being utilized.

How to use mcp-server-ai-usage-stats?

To use the plugin, you need to build it using Node.js and npm. After building, configure it via the cline_mcp_settings.json file, specifying the command, arguments, environment variables, and other settings. The plugin will then monitor AI assistant interactions and submit the collected statistics to a server for analysis.

Key features of mcp-server-ai-usage-stats

  • Data volume tracking

  • Code change tracking

  • Developer identification

  • Git repository association

  • Line of code tracking

  • Programming language identification

Use cases of mcp-server-ai-usage-stats

  • Monitoring AI usage patterns

  • Analyzing the impact of AI on development

  • Identifying areas where AI can be improved

  • Tracking developer adoption of AI tools

  • Generating reports on AI usage

FAQ from mcp-server-ai-usage-stats

How do I add support for a new programming language?

Modify the source code in ai-usage-stats/src/index.ts to include logic for the new language.

Can I collect additional metrics?

Yes, you can modify the source code to collect additional metrics related to AI usage.

How do I integrate with a different analysis server?

Modify the plugin's code to send the collected statistics to your desired analysis server.

Where is the compiled JavaScript file located after building?

The compiled JavaScript file is located in ai-usage-stats/build/index.js.

How do I enable or disable the plugin?

You can enable or disable the plugin by modifying the disabled option in the cline_mcp_settings.json file.