Home / Servers / Text Toolkit / extract_from_text

Extract from text

An MCP tool from the Text Toolkit server, hosted on mcp.hjlabs.in.

Pull email addresses, URLs, phone numbers, hashtags, @mentions, IPv4 addresses and numbers out of a text, de-duplicated and in order of appearance.

Name on the gateway: text__extract_from_text · read-only.

Parameters

NameTypeDescription
text requiredstringThe text to scan.
kindsarrayWhich to extract: emails, urls, phones, hashtags, mentions, ips, numbers. Default all.

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:

call_tool arguments
{
  "name": "text__extract_from_text",
  "arguments": {
    "text": "…"
  }
}

Or connect the Text Toolkit server directly, which lists 43 tools including this one:

Run in your terminal
claude mcp add --transport http hj-text https://mcp.hjlabs.in/mcp/text \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the extract from text tool with text set to ….

More from Text Toolkit