athena-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@athena-mcplist databases in my catalog"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
athena-mcp
An AWS Athena MCP Server using FastMCP. It provides secure access to AWS Athena operations with manual AWS credential authentication.
Overview
This project provides a set of tools to interact with AWS Athena. These tools are built using the mcp library and boto3. The server uses manual AWS credential authentication, reading credentials from environment variables.
Related MCP server: Amazon Managed Prometheus MCP Server
Features
The following Athena operations are supported:
Workgroups:
list_work_groups: List all Athena work groups.get_work_group: Get details about a work group.
Databases:
list_databases: List databases in a data catalog.
Tables:
list_tables: List tables in a database.get_table_metadata: Get metadata for a specific table.
Queries:
start_query_execution: Execute a SQL query in Athena.get_query_execution: Get details about a query execution.get_query_results: Get results from a completed query.stop_query_execution: Stop a running query execution.list_query_executions: List recent query executions.
Named Queries:
create_named_query: Create a named query.list_named_queries: List named queries.get_named_query: Get details about a named query.delete_named_query: Delete a named query.
Data Catalogs:
list_data_catalogs: List data catalogs.
Getting Started
Prerequisites
Python >= 3.13
AWS account with Athena access
Installation
Clone the repository:
git clone https://github.com/your-username/athena-mcp.git cd athena-mcpInstall the dependencies:
pip install -r requirements.txt
Configuration
Create a
.envfile in the root of the project and add your AWS credentials:AWS_ACCESS_KEY_ID=your-access-key AWS_SECRET_ACCESS_KEY=your-secret-key AWS_SESSION_TOKEN=your-session-token (optional) AWS_REGION=your-aws-region
Usage
To start the server, run the following command:
athena-mcpThis will start the FastMCP server, and you can then use the provided tools to interact with AWS Athena.
Contributing
Contributions are welcome! Please feel free to submit a pull request or open an issue.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityFmaintenanceRun SQL queries with AWS Athena to access data available from AWS Glue catalog.Last updated580941MIT
- -licenseAquality-maintenanceEnables access to Amazon Managed Prometheus workspaces through natural language queries. Supports listing workspaces, executing PromQL queries, and retrieving workspace details and metrics with AWS authentication.Last updated4
- AlicenseAqualityDmaintenanceEnables AI assistants to execute SQL queries against AWS Athena databases, check query status, retrieve results, and manage saved queries with support for both local and remote deployment via Lambda.Last updated5809MIT
- Alicense-qualityDmaintenanceEnables execution of SQL queries against AWS Athena databases with schema discovery, query status management, and result retrieval through a standardized Model Context Protocol interface.Last updated23MIT
Related MCP Connectors
Query PostgreSQL databases in plain English — LLM-generated, safety-validated SQL.
Streamline your Attio workflows using natural language to search, create, update, and organize com…
The grounded data layer for any LLM: governed SQL, metrics, lineage and catalog over your data.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ampcome-mcps/athena-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server