char-index-mcp (Archived)
This repository is archived. This project has moved to char-index-skill, now available as a Claude Code Skill plugin with continued MCP server support.
Future updates to both the Skill and the MCP server (
char-index-mcp) will be published from the new repository.
A Model Context Protocol (MCP) server providing character-level index-based string manipulation. Perfect for test code generation where precise character positioning matters.
🎯 Why This Exists
LLMs generate text token-by-token and struggle with exact character counting. When generating test code with specific length requirements or validating string positions, you need precise index-based tools. This MCP server solves that problem.
✨ Features (12 Tools)
🔍 Character & Substring Finding (4 tools)
find_nth_char- Find nth occurrence of a characterfind_all_char_indices- Find all indices of a characterfind_nth_substring- Find nth occurrence of a substringfind_all_substring_indices- Find all occurrences of a substring






