URL and Email Token Detector

URL and Email Token Detector MCP Connector for Claude

A+

Detect URLs and emails to calculate potential LLM token savings.

2 tools Official Updated Oct 1, 2026 Official Vinkius Partner

This MCP server provides deterministic analysis of text to identify URLs and email addresses. It calculates the potential reduction in LLM token usage by replacing high-entropy strings with fixed-length placeholders. Use analyze_text_tokens to find the exact number of URLs and emails and the total tokens saved through optimization.

tokensurlemailoptimizationllm

2 tools expose this connector's capabilities to your AI agent.

analyze_text_tokens

get_token_summary_template

Provides a template for reporting results

See how to talk to your AI agent using URL and Email Token Detector.

Analyze this text for token optimization: Check my site https://example.com and email me at test@domain.com

url_count: 1, email_count: 1, total_url_tokens: 11, total_email_tokens: 5, tokens_saved: 14, optimization_possible: true

How many tokens can I save in this text: contact@service.org

url_count: 0, email_count: 1, total_url_tokens: 0, total_email_tokens: 4, tokens_saved: 2, optimization_possible: true

Is there any optimization possible in: No URLs or emails here.

url_count: 0, email_count: 0, total_url_tokens: 0, total_email_tokens: 0, tokens_saved: 0, optimization_possible: false

It estimates the original token count by dividing the character length of detected URLs and emails by 4, then compares this to a fixed cost of 2 tokens per placeholder.

Related Connectors