currencyscoop

currencyscoop

3.5

CurrencyScoop is a robust MCP server providing real-time and historical exchange rates for 168 world currencies.

CurrencyScoop is a robust MCP server that provides a simple, developer-friendly interface for accessing real-time and historical exchange rates for 168 world currencies. The server delivers currency data in a universally usable JSON format compatible with any programming language and application. CurrencyScoop's data is sourced from major Forex data providers, central banks, and various commercial vendors to ensure accuracy and reliability. CurrencyScoop delivers the most representative forex market value available, known as the 'midpoint' value, for every request. This value, which is the midpoint between the demand and supply rates, is recognized as the most accurate exchange rate available. It is the same rate you'll find on independent financial platforms.

Features

  • Real-Time Exchange Rates: Access up-to-the-second exchange rates for a wide range of global currencies.
  • Historical Data: Retrieve historical exchange rates for any given date, allowing for comprehensive financial analysis and reporting.
  • Currency List: Access a complete list of supported currencies to ensure compatibility with your financial applications.

MCP Tools

  • latest_currency_rates: Fetch the latest currency exchange rates available.
  • historical_rates: Access historical currency rates for a specified date.
  • currency_list: Obtain a list of all supported currencies.

Usage with Different Platforms

currency_converter_app

python
import requests

API_KEY = 'your_api_key'
BASE_URL = 'https://api.currencyscoop.com/v1/'

# Fetch latest currency rates
def get_latest_rates():
    response = requests.get(f'{BASE_URL}latest', params={'api_key': API_KEY})
    return response.json()

# Fetch historical rates
def get_historical_rates(date):
    response = requests.get(f'{BASE_URL}historical', params={'api_key': API_KEY, 'date': date})
    return response.json()

# Fetch currency list
def get_currency_list():
    response = requests.get(f'{BASE_URL}currencies', params={'api_key': API_KEY})
    return response.json()

# Example usage
if __name__ == '__main__':
    print(get_latest_rates())
    print(get_historical_rates('2023-01-01'))
    print(get_currency_list())