You signed in with another tab or window. Reload
to refresh your session. You signed out in another tab or window. Reload
to refresh your session. You switched accounts on another tab or window. Reload
to refresh your session. Dismiss alert
kukapay / dune-analytics-mcp Public
A mcp server that bridges Dune Analytics data to AI agents.
7 stars
0 forks
Branches
Tags
Activity
Notifications
You must be signed in to change notification settings
main
Go to file
Code
| Name | | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| Latest commit
-------------
kukapay
update project description
Mar 27, 2025
1e4eba6
· Mar 27, 2025
History
-------
5 Commits
| | |
| .gitignore | | .gitignore | initial commit | Mar 16, 2025 |
| .python-version | | .python-version | initial commit | Mar 16, 2025 |
| LICENSE | | LICENSE | Initial commit | Mar 16, 2025 |
| README.md | | README.md | update readme | Mar 16, 2025 |
| main.py | | main.py | initial commit | Mar 16, 2025 |
| pyproject.toml | | pyproject.toml | update project description | Mar 27, 2025 |
| uv.lock | | uv.lock | initial commit | Mar 16, 2025 |
| View all files | | |
A mcp server that bridges Dune Analytics data to AI agents.
get_latest_result
: Fetch the latest results of a Dune query by ID.run_query
: Execute a Dune query by ID and retrieve results.Clone the Repository:
shell
git clone https://github.com/kukapay/dune-analytics-mcp.git
cd dune-analytics-mcp
Set Up Environment Variables: Create a .env
file in the project root:
DUNE_API_KEY=your_api_key_here
Alternatively, set it as a system environment variable:
shell
export DUNE_API_KEY="your_api_key_here"
Development Mode:
shell
mcp dev main.py
This starts the server with hot reloading for development.
Install for Claude Desktop:
shell
mcp install main.py --name "Dune Analytics"
Installs the server as a service for use with Claude Desktop.
get_latest_result(query_id)
query_id
(int) - The ID of the Dune query.get_latest_result(query_id=4853921)
run_query(query_id)
query_id
(int) - The ID of the Dune query to run.run_query(query_id=1215383)
This project is licensed under the MIT License - see the LICENSE
file for details.
A mcp server that bridges Dune Analytics data to AI agents.
No releases published
No packages published
You can’t perform that action at this time.