Skip to main content

MCP server for Logam Mulia API — Indonesian gold prices from 18+ sources

Project description

Logam Mulia MCP Server

MCP server for Indonesian gold (logam mulia) prices from 18+ sources.

Source API: logam-mulia-api

Quick Start

# Run directly (from repo)
uv run python -m logam_mulia_mcp.server
# Run from PyPI (no clone, no install)
uvx logam-mulia-mcp

MCP Tools

Tool Description
get_price(source, refresh?) Latest price from a source
get_price_history(source, page?, length?, weight?, material?, material_type?) Paginated history
list_sources() All 18 available sources
get_all_prices() Latest from all sources at once
get_news() Latest gold news articles
get_news_detail(url) Full article text

Configuration

Env Default Description
LOGAM_MULIA_BASE_URL https://logam-mulia-api.iamutaki.workers.dev API base URL
MCP_TRANSPORT stdio Transport: stdio or sse
HTTP_TIMEOUT 30 HTTP client timeout (s)

Integration

Claude Code / Cursor / Any MCP host (via uvx)

Add to your claude_desktop_config.json or .cursor/mcp.json:

{
  "mcpServers": {
    "logam-mulia": {
      "command": "uvx",
      "args": ["logam-mulia-mcp"]
    }
  }
}

Optional: custom API base URL

{
  "mcpServers": {
    "logam-mulia": {
      "command": "uvx",
      "args": ["logam-mulia-mcp"],
      "env": {
        "LOGAM_MULIA_BASE_URL": "https://your-proxy.example.com"
      }
    }
  }
}

No install, no clone. uvx fetches from PyPI automatically.

Hermes

tools:
  mcp_servers:
    logam-mulia:
      command: uvx
      args:
        - logam-mulia-mcp
      # env:                          # optional custom base URL
      #   LOGAM_MULIA_BASE_URL: https://your-proxy.example.com

Direct (any shell)

# With default API
pip install -e .
logam-mulia-mcp

# With custom API base URL
LOGAM_MULIA_BASE_URL=https://your-proxy.example.com logam-mulia-mcp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

logam_mulia_mcp-1.2.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

logam_mulia_mcp-1.2.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file logam_mulia_mcp-1.2.0.tar.gz.

File metadata

  • Download URL: logam_mulia_mcp-1.2.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for logam_mulia_mcp-1.2.0.tar.gz
Algorithm Hash digest
SHA256 496443462c0b8e3fe82459a35efc681aebb56e636ace4718e94d0219b5fab34a
MD5 41ea5da5086d4c8c60adcf6f2eb9621e
BLAKE2b-256 ab1e3a0155a09ab4556301664aa7fa4fb070cf791049c481de757aa741c659cd

See more details on using hashes here.

File details

Details for the file logam_mulia_mcp-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for logam_mulia_mcp-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f59da89eac8a55eaeb455dcd5d8b7d3ebfc3375d9270db34c0346076cd3c33b
MD5 ac3b19ed52f3d7fef7eb44c224c31102
BLAKE2b-256 b7be2b6e07c99a3f307a3cef8df05a05bbd35ad5ff32f6149e8d55312e89edf7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page