token-counter-server

Intro0siddiqui/token-counter-server

3.3

If you are the rightful owner of token-counter-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The token-counter-server is a TypeScript-based MCP server designed to count tokens in files and directories, optimizing the context window for LLMs.

Tools

Functions exposed to the LLM to take actions

count_tokens

Count the number of tokens in a file or directory, with optional file pattern filtering.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources