Back to Home
cordlesssteve icon

token-analyzer-mcp

Verified Safe

by cordlesssteve

Overview

Independent verification and analysis of token consumption and context volume for Model Context Protocol (MCP) server configurations to optimize Claude Code setups.

Installation

Run Command
npm install && npm run build && node dist/index.js

Environment Variables

  • MCP_TIMEOUT

Security Notes

The `MCPSchemaExtractor` module utilizes `child_process.spawn` to execute commands and arguments defined in local MCP configuration files (e.g., `claude_desktop_config.json`). This is fundamental to the tool's functionality, as it needs to run configured MCP servers to extract their schemas. While the analyzer itself does not introduce arbitrary command injection, it acts as an executor for locally defined server configurations. Users should ensure that their MCP configuration files do not contain malicious or untrustworthy commands, as this tool will execute them with the user's privileges.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassHigh
Avg Tokens7500
Stars0
Forks0
Last Update2025-11-23

Tags

token-analysismcp-protocolcontext-optimizationclaude-codedeveloper-tool