mcp-server-token-cost-estimator
Verified Safeby nik1097
Overview
Estimates the token cost of individual tool responses from an MCP server to help clients understand LLM inference expenses.
Installation
uv run mcp-tok https://mcp.morningstar.com/mcp --tools-config tools.json --token YOUR_TOKENSecurity Notes
The project functions as a client to an external MCP server, with the server URL and authentication token provided by the user. It uses standard JSON parsing (`json.loads`) which is generally safe. No 'eval' or similar dangerous functions were found. The primary security consideration is operational: ensuring the user points the client to a trusted MCP server, as the tool will interact with whatever URL it is given.
Similar Servers
mcpm.sh
MCPM is a command-line tool for managing Model Context Protocol (MCP) servers, enabling discovery, installation, execution, sharing, and integration with various MCP clients.
mcp-interviewer
A Python CLI tool to evaluate Model Context Protocol (MCP) servers for agentic use-cases, by inspecting capabilities, running functional tests, and providing LLM-as-a-judge evaluations.
aicode-toolkit
An MCP proxy server that aggregates multiple Model Context Protocol (MCP) servers, enabling on-demand tool discovery and execution, thereby significantly reducing AI agent token usage and improving context window efficiency by loading tools progressively.
ncp
NCP acts as a universal adapter and orchestrator for Model Context Protocol (MCP) servers and tools. It provides a unified interface for discovery, execution, and management of diverse tools (local CLI, HTTP APIs, internal plugins/Photons, AI skills) through natural language and structured code interaction, enabling AI agents to interact with the broader digital ecosystem.