xe-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XE_API_KEY | No | Your Xe API key, required for Xe API access. | |
| XE_ACCOUNT_ID | No | Your Xe account ID, required for Xe API access. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_rateA | Get the current mid-market exchange rate between two currencies. Uses Xe when credentials are set; falls back to Frankfurter (ECB) for free use. |
| convertB | Convert an amount from one currency to another at the current mid-market rate. |
| list_currenciesA | List currency codes. Returns common currencies without credentials; the full Xe list (~170 currencies) requires Xe credentials. |
| get_historical_ratesA | Fetch daily mid-market rates for a currency pair over the past N days. Uses Xe when credentials are set; falls back to Frankfurter (ECB) for free use. |
| volatility_analysisA | Calculate annualised volatility of a currency pair over the past N days. Returns daily std-dev of log-returns and annualised figure — same methodology used in FX options pricing. |
| optimal_send_windowB | Tells you where today's rate sits in the N-day distribution and whether now is statistically favourable to convert. Useful for FX timing decisions. |
| nzd_corridorsA | Snapshot of NZD against all major trading pairs simultaneously (USD, AUD, EUR, GBP, JPY, SGD, CNY). Useful for a quick NZD strength overview. |
| correlation_analysisA | Compute the Pearson correlation of daily log-returns between two currency pairs over N days. Useful for understanding co-movement: NZD/USD vs AUD/USD typically correlate highly (~0.85). Range: -1 (inverse) to +1 (perfect). |
| rate_alert_checkA | Check whether a currency pair's current rate has crossed a threshold. Returns a boolean verdict and the current rate — designed for use in polling loops or CI checks that trigger alerts. |
| rate_chartA | Render an ASCII line chart of a currency pair's rate history over N days. Shows trend visually in the terminal. |
| moving_averageA | Calculate simple moving averages (SMA) for a currency pair. Returns 20, 50, and 200-day SMAs (or custom period), current rate, and distance from each MA — useful for trend assessment. |
| pair_summaryA | One-call morning briefing for a currency pair: current rate, N-day range, annualised volatility, send-window verdict, and SMA(20). Combines get_rate + volatility_analysis + optimal_send_window into a single tool. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Each tool serves a distinct purpose: convert, get_rate, get_historical_rates, and various analytical tools (correlation, moving average, volatility) have clear boundaries. Specialized tools like nzd_corridors and optimal_send_window further differentiate. No two tools overlap in functionality.
All tool names follow a consistent snake_case convention with informative verb_noun or noun patterns (e.g., get_rate, list_currencies, volatility_analysis). No naming style conflicts.
12 tools is well-scoped for a currency exchange server, covering core operations (rates, conversions, history) and analytical features (correlation, volatility, alerts). Not overwhelming or sparse.
The tool set covers the full FX workflow: querying rates, historical data, conversion, statistical analysis, trend visualization, alerting, and a summary tool (pair_summary). No obvious gaps for typical use cases.