Skip to main content
Glama
juhemcp

Juhe Exchange Rates MCP Server

by juhemcp

Juhe Exchange Rates MCP Server

一个提供实时全球货币汇率查询功能的模型上下文协议(Model Context Protocol)服务器。该服务器使大型语言模型(LLMs)能够获取实时货币汇率情况。

Components

Tools

服务器实现了一个工具:

  • query_exchange_rates: 根据货币的三位字母代码查询两者之间的兑换汇率

    • 需要传入 "from_code"(货币的三位字母货币代码)作为必须的字符串参数。

    • 需要传入 "to_code"(货币的三位字母货币代码)作为必须的字符串参数。

async def query_exchange_rates(
    from_code: str = Field(description="您希望转换的货币的三位字母货币代码。如:CNY"),
    to_code : str = Field(description="您希望转换为目标货币的三位字母货币代码。如:USD")
) -> list[types.TextContent | types.ImageContent | types.EmbeddedResource]:

Related MCP server: Realtime Crypto MCP Server

Install

This server requires Python 3.10 or higher. Install dependencies using uv (recommended) or pip

When using uv no specific installation is needed. We will use uvx to directly run jexchange-mcp-server.

uvx jexchange-mcp-server

Using PIP

Alternatively you can install jexchange-mcp-server via pip:

pip install jexchange-mcp-server

After installation, you can run it as a script using:

python -m jexchange_mcp_server

Configuration

Environment Variables

JUHE_EXCHANGE_API_KEY: 聚合数据的天气预报查询API密钥。获取:https://www.juhe.cn/docs/api/id/73

JUHE_EXCHANGE_API_KEY=your_api_key

Configure For CLINE

"mcpServers": {
  "jexchange-mcp-server": {
    "command": "uvx",
    "args": [
      "jexchange-mcp-server"
    ],
    "env": {
      "JUHE_EXCHANGE_API_KEY": "your_api_key"
    }
  }
}
"mcpServers": {
  "jexchange-mcp-server": {
    "command": "python",
    "args": [
      "-m",
      "jmobile_location_mcp_server"
    ],
    "env": {
      "JUHE_EXCHANGE_API_KEY": "your_api_key"
    }
  }
}

Debugging

You can use the MCP inspector to debug the server. For uvx installations:

npx @modelcontextprotocol/inspector uvx jexchange-mcp-server 

Or if you've installed the package in a specific directory or are developing on it:

cd path/to/servers/src/jexchange-mcp-server
npx @modelcontextprotocol/inspector uv run jexchange-mcp-server

Examples of Questions for Cline

  1. "当前美元兑换人民币的汇率是多少?"

  2. "那么人民币和越南货币兑换汇率呢"

Available Tools

1 tool
query_exchange_ratesB

根据货币的三位字母代码查询两者之间的兑换汇率

ParametersJSON Schema
NameRequiredDescriptionDefault
from_codeYes您希望转换的货币的三位字母货币代码。如:CNY
to_codeYes您希望转换为目标货币的三位字母货币代码。如:USD

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description bears full burden. It only says 'query' implying read-only but does not disclose whether it is real-time, requires internet, or error handling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence, no wasted words, directly to the point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Tool is simple with 2 params, no output schema. Description covers purpose and parameters, but lacks details on return format or constraints.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% so baseline is 3. The description adds no new meaning beyond what the schema already provides for the parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool queries exchange rates between two currencies using three-letter codes, which is a specific verb+resource and distinguishes from any potential siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use or not use this tool, no prerequisites or alternatives mentioned despite being a simple query tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 1 tool updatev1.0.0
    • First observedquery_exchange_rates

TDQS

B3.4/5.0
Disambiguation5/5

With only one tool, there is no possibility of confusion or overlap between tools. The single tool's purpose is clearly defined.

Naming Consistency5/5

The tool name 'query_exchange_rates' follows a clear verb_noun pattern. Although there is only one tool, the convention is consistent and descriptive.

Tool Count3/5

A single tool is borderline for an exchange rates server. While basic queries are covered, the lack of additional tools for listing currencies or performing conversions makes the set feel minimal for the domain.

Completeness2/5

The tool only supports querying an exchange rate between two currencies. Notably missing are operations to list supported currencies, fetch all rates, or convert amounts, which are standard for exchange rate services.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    F
    maintenance
    A Model Context Protocol server that provides read-only access to Bybit's cryptocurrency exchange API, allowing users to query real-time cryptocurrency data using natural language.
    12
    22
    16
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A server that provides real-time cryptocurrency data through the Model Context Protocol, allowing access to detailed exchange information and current cryptocurrency rates from the CoinCap API.
    16
    1
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    A Model Context Protocol server that provides real-time cryptocurrency price fetching capabilities using the CoinGecko API. It enables LLMs to retrieve and process the latest price for any coin by its name or symbol.
    2
    -
  • F
    license
    B
    quality
    D
    maintenance
    An MCP server that provides currency rates, conversions, and historical exchange-rate data using the Frankfurter API. It enables users to retrieve latest rates, convert amounts between currencies, and access time-series data for currency pairs.
    3
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/juhemcp/jexchange-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server