hex2dec-mcp

gmh5225/hex2dec-mcp

3.1

If you are the rightful owner of hex2dec-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Hex2Dec MCP Server is a specialized server designed to convert between hexadecimal and decimal numbers, addressing the issue of LLM hallucinations.

Hex2Dec MCP Server

A simple MCP server that provides conversion between hexadecimal and decimal numbers. Mainly solving the problem of LLM hallucinations.

Features

  • hex_to_dec: Convert hexadecimal string to decimal number
  • dec_to_hex: Convert decimal number to hexadecimal string

Build

npm install && npm run build 

Configuration

Add the following configuration:

{
  "mcpServers": {
    "hex2dec": {
      "command": "node",
      "args": [
        "/path/hex2dec-mcp/build/index.js"
      ]
    }
  }
}

References

For more information about MCP servers, refer to the Model Context Protocol documentation.