Text Processing
Extract numbers from text, supporting currency symbols and thousand separators
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/currency-extractor' \
-H 'Content-Type: application/json' \
-d '{"text":"Enter text containing numbers, currencies, or amounts... (e.g., \"The price is $1,234.56 and discount is 15%\")","includeCurrency":true,"includeDecimals":true,"format":"raw","minAmount":0,"maxAmount":0}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/currency-extractor| Name | Type | Required | Description |
|---|---|---|---|
| text | textarea | Yes | — |
| includeCurrency | checkbox | No | Extract amounts with currency symbols ($ ¥ € £ ₹ ¢ ₽) |
| includeDecimals | checkbox | No | Include decimal numbers in extraction |
| format | select | No | Choose how to format the extracted amounts |
| minAmount | number | No | Filter out amounts below this value (optional) |
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-currency-extractor": {
"name": "currency-extractor",
"description": "Extract numbers from text, supporting currency symbols and thousand separators",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=currency-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": "currency-extractor",
"arguments": {
"text": "Enter text containing numbers, currencies, or amounts... (e.g., \"The price is $1,234.56 and discount is 15%\")",
"includeCurrency": true,
"includeDecimals": true,
"format": "raw",
"minAmount": 0,
"maxAmount": 0
}
}
}Questions or issues? Contact [email protected]
| maxAmount | number | No | Filter out amounts above this value (optional) |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}