Skip to content

armanjindal/mining-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mining MCP Server

A Microsoft SQL Server MCP (Model Context Protocol) server built with FastMCP. Provides tools to query and explore SQL Server databases through Claude Desktop and other MCP clients.

Architecture Diagram

Prerequisites

  • Restored SQL Server database (e.g., UU_BR_Shovel.bak)
  • Python 3.13+
  • SQL Server instance running locally

Setup

  1. Install dependencies:
uv sync
  1. Configure environment variables in .env:
MSSQL_HOST=localhost
MSSQL_PORT=1433
MSSQL_USER=sa
MSSQL_PASSWORD=your_password
MSSQL_DATABASE=your_database_name
  1. (Optional) Configure Logfire for telemetry:
LOGFIRE_TOKEN=your_logfire_token

Running Locally

python main.py

The server will start and be available to MCP clients like Claude Desktop.

Features

  • List databases, schemas, and tables
  • Describe table schemas
  • Execute SQL queries
  • Search tables by pattern
  • Get sample data from tables

Built with FastMCP 2.0.

About

An MCP to help explore Mining Datasets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages