# aws-athena-mcp

> MCP Server

This repository provides a Model Context Protocol (MCP) server that allows AI assistants to execute SQL queries against AWS Athena databases. It retrieves query results, enabling AI to interact with your data.

## Overview

- **Category:** Database
- **Language:** TypeScript
- **Stars:** 41
- **Forks:** 4
- **Owner:** lishenxydlgzs
- **GitHub:** https://github.com/lishenxydlgzs/aws-athena-mcp
- **Created:** 2025-02-25T17:58:25+00:00
- **Updated:** 2025-03-21T01:33:20+00:00
- **Source:** https://model-context-protocol.com/servers/aws-athena-query-mcp-server

## Setup

## Setup

1. Configure AWS credentials using AWS CLI configuration, environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY), or IAM role.
2. Add the server to your MCP configuration with the provided JSON configuration, including setting the `OUTPUT_S3_PATH` and optional AWS and server configurations.

## Tools

## Available Tools

1. `run_query`: Execute a SQL query using AWS Athena.
2. `get_status`: Check the status of a query execution.
3. `get_result`: Retrieve results for a completed query.
