Feedback

AWS Athena MCP Server — by lishenxydlgzs

@lishenxydlgzs Claim

Basic information

Runtime
JavaScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
lishenxydlgzs
Submitted by
Community
Quality
50
Stars
41

About AWS Athena MCP Server

AWS Athena connector lets you run SQL on AWS data lakes via Athena in AWS, empowering rapid, large-scale business intelligence analysis.

AWS Athena is a MCP server in the Databases category listed in the AddMCP.net directory, published by lishenxydlgzs. Supported transport: stdio. Runtime: JavaScript. License: MIT. The repository has 41 GitHub stars. Source code is hosted on github.com. Related topics: cloud-infrastructure, community, databases.

Setup

{
    "mcpServers": {
        "athena": {
            "command": "npx",
            "args": [
                "-y",
                "@lishenxydlgzs/aws-athena-mcp"
            ],
            "env": {
                "OUTPUT_S3_PATH": "s3://your-bucket/athena-results/",
                "AWS_REGION": "us-east-1",
                "AWS_PROFILE": "default",
                "AWS_ACCESS_KEY_ID": "",
                "AWS_SECRET_ACCESS_KEY": "",
                "AWS_SESSION_TOKEN": "",
                "ATHENA_WORKGROUP": "default_workgroup",
                "QUERY_TIMEOUT_MS": "300000",
                "MAX_RETRIES": "100",
                "RETRY_DELAY_MS": "500"
            }
        }
    }
}

AWS Athena MCP Server — by lishenxydlgzs config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "athena": {
            "command": "npx",
            "args": [
                "-y",
                "@lishenxydlgzs/aws-athena-mcp"
            ],
            "env": {
                "OUTPUT_S3_PATH": "s3://your-bucket/athena-results/",
                "AWS_REGION": "us-east-1",
                "AWS_PROFILE": "default",
                "AWS_ACCESS_KEY_ID": "",
                "AWS_SECRET_ACCESS_KEY": "",
                "AWS_SESSION_TOKEN": "",
                "ATHENA_WORKGROUP": "default_workgroup",
                "QUERY_TIMEOUT_MS": "300000",
                "MAX_RETRIES": "100",
                "RETRY_DELAY_MS": "500"
            }
        }
    }
}

AWS Athena MCP Server — by lishenxydlgzs tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is AWS Athena?

A Model Context Protocol (MCP) server that enables AI assistants to execute SQL queries against AWS Athena databases and retrieve results. It is built for developers and data analysts who want to query their Athena data through natural language interactions.

How to use AWS Athena?

Configure AWS credentials via CLI, environment variables, or IAM role. Add the server to your MCP configuration with the required OUTPUT_S3_PATH environment variable. The server provides five tools: run_query, get_status, get_result, list_saved_queries, and run_saved_query. Run it using npx -y @lishenxydlgzs/aws-athena-mcp.

Key features of AWS Athena

  • Execute SQL queries on AWS Athena
  • Retrieve results synchronously or asynchronously with query execution IDs
  • Check query status and statistics using execution IDs
  • List and run saved (named) queries from Athena
  • Configurable query timeout, retry behavior, and workgroup
  • Supports AWS credentials via CLI, environment variables, or IAM roles

Use cases of AWS Athena

  • List all databases and tables in your Athena environment
  • Preview table schemas and sample rows with natural language
  • Run analytical queries with filtering, aggregation, and ordering
  • Retrieve results from long-running queries later via execution ID
  • Execute predefined saved queries by their ID

Frequently asked questions

1 What AWS credentials are needed?

You need AWS credentials with appropriate Athena and S3 permissions, plus an S3 bucket for query results.

2 What environment variables are required?

OUTPUT_S3_PATH is required. Optional variables include AWS_REGION, AWS_PROFILE, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, ATHENA_WORKGROUP, QUERY_TIMEOUT_MS, MAX_RETRIES, and RETRY_DELAY_MS.

3 How many rows can be returned per query?

The default maximum is 1000 rows, with a hard maximum of 10,000 rows. You can set maxRows in the tool parameters.

4 What happens if a query times out?

If the query does not complete within the configured timeout (default 5 minutes), the tool returns only the queryExecutionId so you can later retrieve results using get_status and get_result.

Videos

Tutorials, guides, and showcases related to AWS Athena MCP Server — by lishenxydlgzs. The player loads when you press play.

Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬