What AWS credentials are needed?
You need AWS credentials with appropriate Athena and S3 permissions, plus an S3 bucket for query results.
@lishenxydlgzs
Basic information
MCP server to run AWS Athena queries
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"
}
}
}
}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.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
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.
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.
You need AWS credentials with appropriate Athena and S3 permissions, plus an S3 bucket for query results.
`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`.
The default maximum is 1000 rows, with a hard maximum of 10,000 rows. You can set `maxRows` in the tool parameters.
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`.

Build and run websites, APIs, automations, and admin tools from chat. Your agent creates the data, logic, pages, and scheduled jobs; Tessryx hosts them on your own domain. No code generated, nothing to deploy.
YesTechie builds enterprise UniFi networks, cameras, access control, cabling and Wi-Fi for businesses nationwide from its California HQ. Agents can read real project case studies and practical configuration guides, price

Buy .vn and 371 international domains in VND inside Claude Code, Codex or Cursor. Search and reserve as a guest, pay by VietQR, sign in with MONA Pass once to claim; the agent then points DNS and SSL at your app. Alias o

Read-only, governed infrastructure context for any AI. OneIQ gives Claude, ChatGPT, Copilot and other MCP clients answers from your VMware, Nutanix, Kubernetes and cloud environments, without access to production systems
Development environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
Comments