Text Processing
Use AI to intelligently extract numbers, currencies, and financial amounts from text with their original formatting preserved
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/ai-currency-extractor' \
-H 'Content-Type: application/json' \
-d '{"text":"Enter text containing numbers, currencies, or financial amounts... (e.g., \"The price is $1,234.56 with a 15% discount\")","extractNumbers":true,"extractCurrencies":true,"preserveFormatting":true,"includeContext":false}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/ai-currency-extractor| Name | Type | Required | Description |
|---|---|---|---|
| text | textarea | Yes | — |
| extractNumbers | checkbox | No | Extract numbers without currency symbols (e.g., 100, 1.5K, 15%) |
| extractCurrencies | checkbox | No | Extract amounts with currency symbols ($, €, £, ¥, etc.) |
| preserveFormatting | checkbox | No | Keep thousand separators, decimal formats, and currency symbols |
| includeContext | checkbox | 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-ai-currency-extractor": {
"name": "ai-currency-extractor",
"description": "Use AI to intelligently extract numbers, currencies, and financial amounts from text with their original formatting preserved",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=ai-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": "ai-currency-extractor",
"arguments": {
"text": "Enter text containing numbers, currencies, or financial amounts... (e.g., \"The price is $1,234.56 with a 15% discount\")",
"extractNumbers": true,
"extractCurrencies": true,
"preserveFormatting": true,
"includeContext": false
}
}
}Questions or issues? Contact [email protected]
| Include surrounding text to understand what the amount represents |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}