# get_rate

Get the current — or historical, with date — exchange rate from one currency to another. Indicative developer-grade reference rates (aggregated market data + public reference rates), not for settlement or trading. Rates update ~60s for real-time currencies through the trading week when the live overlay is active; the source field on every response is the authoritative freshness indicator (live | ecb_daily | fred_daily) — rates fall back to ECB or FRED daily reference during market closures, data-source unavailability, or low liquidity. market_session on every response indicates open, weekend, or interbank_closed.

Agent View of the PolicyLayer registry record for `get_rate`. HTML page: https://policylayer.com/tools/dev-exchangerate-mcp/get-rate

## Facts

- Tool: `get_rate`
- Server: Exchangerate Dev (`https://api.exchangerate.dev/v1/mcp/`) — https://policylayer.com/tools/dev-exchangerate-mcp.md
- Homepage: https://github.com/https://api.exchangerate.dev/v1/mcp/
- Risk category: Read (Low risk)
- Registry record: grade C, identity unverified
- Server auth posture: open
- Server rate-limited: yes
- Parameters: 3 (2 required)
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `base` | string | yes |  |
| `date` | object | no |  |
| `quote` | string | yes |  |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_rate",
    "arguments": {
      "base": "<base>",
      "quote": "<quote>"
    }
  }
}
```

## Why get_rate is rated Low

This tool performs a data retrieval operation only. It fetches historical or current exchange rate information but does not execute trades, modify data, or commit financial obligations. The disclaimer that rates are 'not for settlement or trading' further confirms this is informational only. While exchange rates have financial context, the tool itself only reads and returns data without any transactional capability.

From the tool's own definition: "Tool retrieves exchange rate data without modification: 'Get the current — or historical, with date — exchange rate' with no capability to modify rates, execute transactions, or affect financial systems. Explicitly stated as 'not for settlement or trading'."

Risk signals: Bulk/mass operation — affects multiple targets

## Use case

AI agents call get_rate to retrieve information from Exchangerate Dev without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Exchangerate Dev:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "get_rate": {}
  }
}
```

## Other tools on Exchangerate Dev (4)

- `convert` — Read — https://policylayer.com/tools/dev-exchangerate-mcp/convert.md
- `get_range` — Read — https://policylayer.com/tools/dev-exchangerate-mcp/get-range.md
- `list_currencies` — Read — https://policylayer.com/tools/dev-exchangerate-mcp/list-currencies.md
- `search_docs` — Read — https://policylayer.com/tools/dev-exchangerate-mcp/search-docs.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=dev-exchangerate-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/dev-exchangerate-mcp
