ColeMurray/aws-athena-mcp
AWS Athena MCP using FastMCP
A simple, clean MCP (Model Context Protocol) server for AWS Athena integration. Execute SQL queries, discover schemas, and manage query executions through a standardized interface.
# From PyPI with uv (recommended for Claude Desktop)
uv tool install aws-athena-mcp
# From PyPI with pip
pip install aws-athena-mcp
# Or from source
git clone https://github.com/ColeMurray/aws-athena-mcp
cd aws-athena-mcp
pip install -e .Set the required environment variables:
# Required
export ATHENA_S3_OUTPUT_LOCATION=s3://your-bucket/athena-results/
# Optional (with defaults)
export AWS_REGION=us-east-1
export ATHENA_WORKGROUP=primary
export ATHENA_TIMEOUT_SECONDS=60# Start the MCP server (if installed with uv tool install)
aws-athena-mcp
# Or run directly with uv (without installing)
uv tool run aws-athena-mcp
# Or run directly with uvx (without installing)
uvx aws-athena-mcp
# Or run directly with Python
python -m athena_mcp.serverThat's it! The server is now running and ready to accept MCP connections.
To use this MCP server with Claude Desktop:
Download and install Claude Desktop if you haven't already.
Add the following configuration to your claude_desktop_config.json:
Location of config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json**C
Loading reviews...