Text Processing
Extract hashtags (#Topic) and user mentions (@Username) from social media text like Twitter, Instagram, etc.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/hashtag-mention-extractor' \
-H 'Content-Type: application/json' \
-d '{"text":"Paste your social media text containing hashtags (#topic) and mentions (@username)...","extractHashtags":true,"extractMentions":true,"uniqueOnly":true,"sortBy":"alphabetical"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/hashtag-mention-extractor| Name | Type | Required | Description |
|---|---|---|---|
| text | textarea | Yes | — |
| extractHashtags | checkbox | No | Extract hashtags (#Topic) from the text |
| extractMentions | checkbox | No | Extract user mentions (@Username) from the text |
| uniqueOnly | checkbox | No | Remove duplicate hashtags and mentions from the results |
| sortBy | select | No |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-hashtag-mention-extractor": {
"name": "hashtag-mention-extractor",
"description": "Extract hashtags (#Topic) and user mentions (@Username) from social media text like Twitter, Instagram, etc.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=hashtag-mention-extractor",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "hashtag-mention-extractor",
"arguments": {
"text": "Paste your social media text containing hashtags (#topic) and mentions (@username)...",
"extractHashtags": true,
"extractMentions": true,
"uniqueOnly": true,
"sortBy": "alphabetical"
}
}
}Questions or issues? Contact [email protected]
| Choose how to sort the extracted hashtags and mentions |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}