NitinTalluri/mcp_server
If you are the rightful owner of mcp_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The MCP Server for Snowflake Architecture provides a robust interface for accessing and querying architecture data tables, enabling LLM models to analyze application structures and dependencies.
LLM with Claude - Snowflake Architecture MCP Server
A Python project that provides an MCP (Model Context Protocol) server for accessing Snowflake architecture data tables. This server enables LLM models to query live architecture data as a source of truth for application structure analysis, dependencies, and relationships.
Features
- MCP server for Snowflake architecture data access
- Direct querying of architecture tables through LLM tools
- Schema inspection and data search capabilities
- Integration with Claude models via Continue IDE extension
- Support for multiple environments (dev, stage, prod)
Architecture Tables Available
The server provides access to these key architecture tables:
Core Entity Tables
BASE_NAMES- Source table naming informationVIEW_NAMES- View table naming informationBASE_TABLE- Source table definitions with columnsVIEW_TABLE- View table definitions with columns
Lineage & Dependencies
VIEW_TO_SOURCE_COLUMN_LINEAGE- Raw column lineage dataVIEW_TO_SOURCE_COLUMN_LINEAGE_V- Enhanced column lineage view
Application Integration
ACTION_TO_ENDPOINTS_TABLES_MAPPING- Raw endpoint to table mappingsACTION_TO_ENDPOINTS_TABLES_MAPPING_V- Enhanced endpoint mappings
Business Intelligence
THOUGHTSPOT_TABLE- ThoughtSpot table usage dataTHOUGHTSPOT_TABLE_V- Enhanced ThoughtSpot integration view
Stored Procedures
SP_TABLE_COLUMN_MAPPING- Stored procedure metadataSP_TABLE_COLUMN_MAPPING_V- Enhanced SP mappingsSP_REFERENCE_TO_FLOWS- Flow reference dataSP_MAPPING_WITH_ENDPOINTS_AND_FLOWS_V- Comprehensive SP mapping
Setup Guide
Prerequisites
- Python 3.10 or higher
- Access to Snowflake environment
- Continue IDE extension (for LLM integration)
Installation
-
Clone the repository
git clone <repository-url> -
Create virtual environment
python -m venv .venv -
Activate virtual environment
Windows:
.venv\Scripts\activateLinux/Mac:
source .venv/bin/activate -
Install dependencies
pip install -r requirements_mcp.txtOr using uv (if available):
uv sync
Configuration
-
Snowflake Connection Setup
- Ensure you have access to Snowflake environments
- The server uses existing connection strategy via
common.secmodule - Default environment is set to 'prod' but can be modified in
mcp_snowflake_server.py
-
Continue IDE Configuration
- The project includes
config_snowflake.yamlfor Continue IDE replcae this with yourconfig.yaml - Update the
cwdpath in the config to match your project location
- The project includes
Running the MCP Server
-
Direct execution
python mcp_snowflake_server.py -
Via Continue IDE
- The server will automatically start when Continue IDE loads the configuration
- Check the MCP server configuration in
config_snowflake.yaml
Usage
Available MCP Tools
-
query_architecture_table
- Query specific tables with optional filtering and limits
- Parameters: table_name (required), limit (optional), where_clause (optional)
-
get_table_schema
- Get column information and schema details for tables
- Parameters: table_name (required)
-
search_architecture_data
- Search across tables for specific patterns or relationships
- Parameters: search_term (required), tables (optional)
Troubleshooting
Common Issues
-
Connection Errors
- Verify Snowflake credentials and access
- Check network connectivity
- Ensure the
common.secmodule is properly configured
-
MCP Server Not Starting
- Verify Python path in
config_snowflake.yamlreplcae this in config.yaml - Check virtual environment activation
- Review server logs for specific errors
- Verify Python path in
-
Missing Dependencies
- Run
pip install -r requirements_mcp.txt - Ensure all required packages are installed
- Run