whitespace token count, text discarded
Remote MCP endpoint that counts whitespace-separated tokens in text and discards the input
- Pricing
- Open source
- Platforms
- API
- Runs
- Remotely
- Version
- 1.0.0
- Listing updated
- today
Similar MCP servers
About whitespace token count, text discarded
whitespace token count, text discarded is an open-source MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.
token-n is a small remote MCP server that takes a piece of text, counts its whitespace-separated tokens, and throws the text away rather than keeping it. It is one of many single-purpose utility endpoints published under the same GitHub account.
The server is reached over streamable HTTP at a hosted Cloudflare Workers URL, so there is nothing to install locally. The registry entry lists no packages, only the remote endpoint.
The repository describes these endpoints as public MCP servers aimed at autonomous clients, each registered under its own official registry name. It does not document the individual tool names or parameters for token-n, so check the endpoint itself for its tool schema.
Install
Run in a terminal
claude mcp add --transport http token-n https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/token-n/mcpAdd to Settings → Connectors → Add custom connector
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/token-n/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"token-n": {
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/token-n/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"token-n": {
"type": "http",
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/token-n/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"token-n": {
"serverUrl": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/token-n/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"token-n": {
"type": "http",
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/token-n/mcp"
}
}
}Using several servers? Build one config file with the MCP config generator.
What it does
- Whitespace token counting
- Returns a count of tokens separated by whitespace in the submitted text.
- Text discarded
- The registry description says the submitted text is discarded after the count is produced.
- Remote streamable HTTP
- Runs as a hosted endpoint over streamable HTTP, with no local package to install.
- Own registry name
- Registered as io.github.sadri-dridi/token-n, with its own endpoint in a larger collection of utilities.
Good for
- Letting an agent get a quick word-like token count of a string
- Checking rough text length before passing it to another tool
- Testing a streamable HTTP MCP client against a minimal remote server
Pricing
Open source
whitespace token count, text discarded FAQ
What does token-n do?
It counts whitespace-separated tokens in text and discards the text afterwards.
How do I connect to it?
Use the streamable HTTP remote URL listed in the registry entry, hosted on a workers.dev domain.
Do I need to install anything?
No package is listed; it is a remote endpoint only.
Is it part of a larger project?
Yes, it belongs to the Named MCP utilities repository, which lists many small endpoints under the same GitHub account.
Is whitespace token count, text discarded free?
Yes. whitespace token count, text discarded is open source, so you can use and self-host it for free.
How do I add whitespace token count, text discarded to Claude Code?
Run this command in your terminal: claude mcp add --transport http token-n https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/token-n/mcp
What are the best alternatives to whitespace token count, text discarded?
The closest alternatives to whitespace token count, text discarded are whitespace run count, text discarded, Whitespace word count, text discarded, Title-case token count, text discarded, edge-space count, text discarded and URL-ish token count, text discarded.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.