DataGovMy MCP Server

by leeliwei930

134 downloads
Not rated
GitHub

About

A NodeJS TypeScript MCP server designed to fetch foreign exchange rate data from datagov.my and perform bidirectional currency conversion between foreign currencies and MYR.

Details

Author
leeliwei930
Downloads
134
Categories
Other

- Currency conversion using historical exchange rate data
- Integration with OpenWebUI via MCPO proxy
- Built with the Model Context Protocol standard
- Single tool available: “currency conversion”

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name DataGovMy MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install Node.js (v14+), clone the repository, run npm install and npm run build. Start the server with node ./build/index.js. For OpenWebUI integration, install the MCPO proxy (pip install uv mcpo), launch it with uvx mcpo --port 8000 -- node ./build/index.js, then configure the MCP server URL in OpenWebUI’s Tools Settings.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "datagovmy mcp server": {
            "datagovmy-mcp": {
                "command": "uvx",
                "args": [
                    "mcpo",
                    "--port",
                    "8000",
                    "--",
                    "node",
                    "./build/index.js"
                ]
            }
        }
    }
}

McpServers

{
    "datagovmy-mcp": {
        "command": "uvx",
        "args": [
            "mcpo",
            "--port",
            "8000",
            "--",
            "node",
            "./build/index.js"
        ]
    }
}

DataGovMy MCP Server

Overview

This repository contains the Model Control Protocol (MCP) server implementation for DataGov MY services.

Prerequisites

- Node.js (v14.x or higher recommended)

Getting Started

Installation

Clone the repository and install dependencies:
git clone git@github.com:leeliwei930/datagovmy-mcp.git
cd datagovmy-mcp
npm install

Development

Build and run the MCP server locally:

npm run build
node ./build/index.js

Integration with OpenWebUI

Setting Up the Proxy

Step 1. Install the MCPO proxy utility:

   pip install uv
pip install mcpo

Step 2. Launch the proxy server:

   uvx mcpo --port 8000 -- node ./build/index.js

Step 3. Configure OpenWebUI to connect to the MCP server:
- Navigate to Tools Settings in OpenWebUI
- Add the MCP server configuration as shown below

OpenWebUI MCP Configuration

Current available tools in MCP server

- Currency conversion based on historical exchange rate data

Screenshots

Prompt example

sample-chat

Screenshot of a Citation from the converter tool output

sample-citation
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.