Silver Price MCP Server

Silver Price MCP Server

Fetches real-time silver prices and chart images from MCX India via Groww.in, including price metrics, trends, and a base64-encoded PNG chart.

Category
Visit Server

README

Silver Price MCP Server

Get silver prices and chart images from Groww.in (MCX India) via MCP.

Features

  • Real-time silver price data
  • Chart image included
  • Current price, open, previous close
  • 52-week high/low
  • Volume & Open Interest
  • Trend analysis (UP/DOWN)
  • No API key needed
  • Clean & simple

Installation

pip install -r requirements.txt

Usage

Test

python test.py

MCP Configuration

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

{
  "mcpServers": {
    "silver-price": {
      "command": "python",
      "args": ["-m", "mcp_metal_price"],
      "cwd": "/Users/bhavukagrawal/mcp-metal-price"
    }
  }
}

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

API

Tool: get_silver_price

No parameters required.

Returns:

  • JSON data with price metrics
  • PNG chart image (base64 encoded)

Example Data:

{
  "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"
}

Plus chart image showing the price graph.

Requirements

  • Python 3.10+
  • Chrome browser
  • Dependencies: mcp, selenium, webdriver-manager

How It Works

  1. Opens Groww.in silver page with Selenium
  2. Waits for content to load (8 seconds)
  3. Extracts price data using regex
  4. Captures full-page screenshot
  5. Returns JSON data + chart image to Claude

Notes

  • Scraping takes ~8-10 seconds
  • Chrome runs headless (no window)
  • Image is PNG format, base64 encoded
  • Data from MCX India market

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured