Token Counter MCP Server
com.apished/token-counterv1.0.0
Counts tokens under OpenAI-compatible (tiktoken) encodings, by model or encoding name.
context tax
queued
security
queued
cold start
queued
freshness
Maintained52d ago
Install Token Counter MCP server
Install in Claude Code
claude mcp add --transport http token-counter https://apished.com/mcp/v1/tokensInstall in Cursor
{
"mcpServers": {
"token-counter": {
"url": "https://apished.com/mcp/v1/tokens"
}
}
}Install in Claude Desktop
{
"mcpServers": {
"token-counter": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://apished.com/mcp/v1/tokens"
]
}
}
}Or add it as a custom connector under Settings → Connectors. The config above bridges via mcp-remote.
Install in VS Code
{
"servers": {
"token-counter": {
"type": "http",
"url": "https://apished.com/mcp/v1/tokens"
}
}
}Install in Windsurf
{
"mcpServers": {
"token-counter": {
"serverUrl": "https://apished.com/mcp/v1/tokens"
}
}
}Remote endpoints
- streamable-http
https://apished.com/mcp/v1/tokens
Freshness
Maintained — last maintenance signal 52d ago. The newest of the signals below sets the band.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-08-18 · 52d ago · official registry · v1.0.0
FAQ
›How do I install the Token Counter MCP server in Claude Code?
Run: claude mcp add --transport http token-counter https://apished.com/mcp/v1/tokens. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Token Counter require an API key?
No required environment variables are declared in its published metadata.
›Can I use Token Counter as a remote (hosted) MCP server?
Yes. It is a hosted MCP server; connect to its URL with any client that supports remote MCP.
›Is Token Counter in the official MCP registry?
Yes, as com.apished/token-counter.
Alternatives to Token Counter
Other ai & llm tools MCP servers.