Home / Servers / Text Toolkit / line_numbers
Line numbers
An MCP tool from the Text Toolkit server, hosted on mcp.hjlabs.in.
Prefix each line of a text with its line number, right-aligned, with a separator you choose. Handy for quoting code or pointing at a specific line.
Name on the gateway: text__line_numbers · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
text required | string | The text. |
separator | string | Between number and line. Default ": ". |
start | integer | First line number. Default 1. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "text__line_numbers",
"arguments": {
"text": "…"
}
}Or connect the Text Toolkit server directly, which lists 43 tools including this one:
claude mcp add --transport http hj-text https://mcp.hjlabs.in/mcp/text \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the line numbers tool with text set to ….