Skip to main content
Glama
bhavuk1409

Silver Price MCP Server

by bhavuk1409

Silver Price MCP Server

A Model Context Protocol (MCP) server that fetches live MCX India silver prices — plus a chart image — straight from Groww.in. No API key required; the data is scraped in real time and handed to any MCP-compatible client as structured JSON and a PNG chart.

python scraping data license


What it does

  • Live silver price — current price, open, previous close, and % / ₹ change, pulled straight from MCX India via Groww.in.

  • 52-week range — high/low over the trailing year.

  • Volume & open interest — lot size and OI lots included.

  • Trend detection — flags the move as UP or DOWN.

  • Chart image included — a full-page screenshot of the price chart, returned as a base64-encoded PNG alongside the JSON.

  • No API key needed — works out of the box; the data comes from a headless Chrome scrape, not a paid feed.


Related MCP server: Groww MCP Server

Repository layout

├── src/                  # MCP server implementation (tool + scraper)
├── requirements.txt      # Python dependencies
├── pyproject.toml        # Project configuration
└── README.md             # This file

Requirements

  • Python 3.10+

  • Chrome browser (runs headless via Selenium)

  • Dependencies: mcp, selenium, webdriver-manager


Quickstart

1. Install

git clone https://github.com/bhavuk1409/silver-mcx-mcp-server.git
cd silver-mcx-mcp-server

pip install -r requirements.txt

2. Test it directly

python test.py

3. Connect to Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "silver-price": {
      "command": "python",
      "args": ["-m", "mcp_metal_price"],
      "cwd": "/path/to/silver-mcx-mcp-server"
    }
  }
}

Restart Claude Desktop and ask: "Get the current silver price."


Tool

Name

Parameters

Returns

get_silver_price

none

JSON price metrics + a base64-encoded PNG chart

Example response:

{
  "metal": "Silver",
  "symbol": "XAG",
  "currency": "INR",
  "current_price": "2,42,798.00",
  "price_formatted": "₹2,42,798.00",
  "open": "2,42,775.00",
  "previous_close": "2,40,277.00",
  "52w_low": "1,09,741.00",
  "52w_high": "2,59,692.00",
  "oi_lots": "12,394",
  "lot_size": "30",
  "change": "+2521.00",
  "percent_change": "+1.05%",
  "trend": "UP"
}

How it works

  1. Opens the Groww.in silver page in a headless Chrome instance via Selenium.

  2. Waits ~8 seconds for the page content to fully load.

  3. Extracts price data from the page using regex.

  4. Captures a full-page screenshot of the chart.

  5. Returns the parsed JSON plus the chart image to the MCP client.


Notes

  • Scraping takes roughly 8–10 seconds per call.

  • Chrome runs headless — no visible window.

  • Chart image is PNG format, base64-encoded.

  • Data source is MCX India via Groww.in and can change format if the site changes its layout.


License

MIT

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    A server that provides tools for retrieving real-time price information for various assets including precious metals and cryptocurrencies, allowing language models to access and display current asset price data.
    Last updated
    1
    11
    3
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables interaction with the Groww trading platform to fetch portfolio data, get live stock quotes and historical market data, and place, modify, or cancel stock orders through natural language commands.
    Last updated
    28
    9
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that enables users to manage equity holdings, execute trades, and track market data on Groww using natural language. It supports mutual fund investments and SIP management, including a mock mode for risk-free testing.
    Last updated
    23
    28
    MIT
  • A
    license
    -
    quality
    A
    maintenance
    MCP Server for Indian Options — Real-time option chains, Greeks, 34+ strategies, OI analysis, IV smile, Max Pain. Works with Claude Desktop. Replaces Sensibull.
    Last updated
    21
    8
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

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/bhavuk1409/mcx-metal-price-mcp'

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