currency-conversion-and-exchange-rates
4.0
The currency-conversion-and-exchange-rates MCP server provides reliable exchange rate and currency conversion services.
The currency-conversion-and-exchange-rates
MCP server offers a comprehensive service for accessing current and historical exchange rates, currency conversion, and forex data retrieval. It supports a wide range of currencies and provides tools for payment calculations, making it easy to convert currencies like dollars to euros. The server is designed to integrate seamlessly into applications, offering localized currency conversion and exchange rate data.
Features
- Current and Historical Exchange Rates: Access both current and historical exchange rates for a wide range of currencies.
- Currency Conversion: Perform currency conversions with ease, leveraging up-to-date or historical rates.
- Forex Data Retrieval: Retrieve forex data for various currencies, with historical data available as far back as 1999.
- Customizable Options: Adjust parameters such as base currency and target currencies to suit your needs.
MCP Tools
- Time-Series Endpoint: Retrieve historical rates between two specified dates, with a maximum time range of 365 days.
- Convert: Provides a dedicated endpoint for currency conversion of a specific amount.
- Symbols: Retrieve a list of all currently available currency symbols.
- Historical Exchange Rates: Retrieve historical exchange rate data available from 1999 onward.
- Recent Exchange Rates: Retrieve the latest exchange rate data with varying refresh rates depending on your subscription level.
Usage with Different Platforms
python
python
import requests
url = 'https://api.currency-conversion.com/convert'
params = {
'_from': 'USD',
'to': 'EUR',
'amount': 100
}
response = requests.get(url, params=params)
print(response.json())
nodejs
javascript
const axios = require('axios');
axios.get('https://api.currency-conversion.com/convert', {
params: {
_from: 'USD',
to: 'EUR',
amount: 100
}
})
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(error);
});