Frankfurter
Convert currencies and fetch blended FX rates from 50+ institutional sources.
ماذا يمكنك أن تفعل مع Frankfurter؟
convert— the primary tool. Convert an amount between two currencies;get_rates— blended reference rates for the latest day or a singlelist_currencies— supported ISO 4217 codes and names as{ code: name }.list_providers— the institutions relayed, with key, rate type,
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http frankfurter 'https://mcp.frankfurter.dev/'
{
"mcpServers": {
"frankfurter": {
"type": "http",
"url": "https://mcp.frankfurter.dev/"
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
frankfurter-mcp
Official Model Context Protocol server for the Frankfurter exchange-rate API. A thin, stateless proxy over Frankfurter's v2 blended multi-source reference rates.
Tools
convert— the primary tool. Convert an amount between two currencies; returns a money object{ amount, currency }rounded to the target's minor units. Passdatefor a historical rate,providerfor one institution's published rate (e.g.UST, the U.S. Treasury's quarterly reporting rate).get_rates— blended reference rates for the latest day or a singledate. Optionalbase,quotesandprovider(orprovidersto compare multiple institutions). The raw-rate companion toconvert; withproviderand the provider's own base, the digits are as published, with the date they took effect.list_currencies— supported ISO 4217 codes and names as{ code: name }.list_providers— the institutions relayed, with key, rate type, frequency and coverage dates, to pick aprovider.
For time series, historical ranges, or bulk queries, use the REST API at
https://api.frankfurter.dev/v2 directly.
Rates are daily reference rates, not real-time trading rates. Not financial advice.
Run
npm install
npm run build
npm start # listens on :3000, POST /
Docker:
docker build -t frankfurter-mcp . && docker run -p 3000:3000 frankfurter-mcp
docker run -p 3000:3000 ghcr.io/lineofflight/frankfurter-mcp:latest
The prebuilt ghcr.io/lineofflight/frankfurter-mcp:latest image is published
on each release; building from source also works.
Point any MCP client at http://<host>:3000/ (Streamable HTTP). The hosted
server is at https://mcp.frankfurter.dev/.
Configuration
PORT— HTTP port (default3000).FRANKFURTER_API_URL— upstream API base (defaulthttps://api.frankfurter.dev). Set this to a self-hosted Frankfurter instance if desired. The value must be a host root: any path prefix in it is discarded (e.g.https://example.com/apiresolves tohttps://example.com/v2/rates), so a self-hosted instance must be reachable at the host root.
Development
npm test # vitest
npm run lint # biome
License
MIT
الأسئلة الشائعة
ما هو Frankfurter؟
Convert currencies and fetch blended FX rates from 50+ institutional sources.
كيف أثبّت Frankfurter؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http frankfurter 'https://mcp.frankfurter.dev/'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Frankfurter إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل Frankfurter مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون Frankfurter؟
ينشره lineofflight. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.