Cover image
Try Now
2025-03-19

En Model Context Protocol-server (MCP) som kopplar en LLM till Riksbankens API för kronans växelkurs.

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

sek-fx-mcp

Detta är en Python-implementering av Model Context Protocol (MCP), som är ett verktyg för att hantera kommunikation mellan applikationer och stora språkmodeller (LLM).

Den kontaktar Riksbankens API och frågar efter växlingskursen för en viss valuta till svenska kronor. Den accepterar ISO 4217-koden för valutor dvs NOK (norska kronor), EUR (Euro), GBP (brittiska pund) etc.

Riksbanken har en begränsning på antalet anrop från samma ip-adress inom ett visst tidsspann (5 anrop per minut och maximalt 1000 anrop per dygn). Krävs fler anrop än detta behövs en API-nyckel. Se länk till Riksbanken längre ner för information hur du skaffar en nyckel. Sätt nyckeln i miljövariabeln RIKSBANKEN_API_KEY.

Testad i Claude Desktop i MacOS. Kräver Python och uv.

Installation:

uv run mcp install server.py

Vidare läsning:

https://en.wikipedia.org/wiki/ISO_4217

https://github.com/modelcontextprotocol/python-sdk

https://www.riksbank.se/sv/statistik/rantor-och-valutakurser/hamta-rantor-och-valutakurser-via-api/

https://modelcontextprotocol.io/introduction

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

    Reviews

    2 (1)
    Avatar
    user_WWKgfL73
    2025-04-17

    As a loyal user of the sek-fx-mcp application, I am impressed by its seamless performance and utility. Developed by bromaniac, this tool has significantly streamlined my workflow. It's reliable, user-friendly, and integrates perfectly into my setup. I highly recommend it to anyone looking to enhance their MCP-related tasks.