
pumpfun-wallets-mcp
An MCP server that analyzes wallets’ trading activity and profitability on Pump.fun and PumpSwap.
Tools
get_total_wallets
Retrieve the total number of wallets on Pumpfun and Pumpswap platforms. This function queries Dune Analytics (query ID: 5239155) to fetch the total wallet count. Returns: int: The total number of wallets, or 0 if the query fails. Raises: Exception: If the API request or data retrieval encounters an error.
get_alpha_wallets
Retrieve the top profitable wallets on Pumpfun and Pumpswap for the last 30 days. This function queries Dune Analytics (query ID: 4032586) to fetch a ranked list of wallets based on their realized profit over the past 30 days, formatted as a tabulated string. Args: limit (int, optional): Maximum number of wallets to return. Defaults to 100. Returns: str: A tabulated string containing the rank, wallet address, realized profit (in USD), and last transaction timestamp for each wallet, or an empty string if the query fails. Raises: Exception: If the API request or data retrieval encounters an error.
get_trading_wallets
Retrieve the top wallets by all-time trading volume on Pumpfun and Pumpswap. This function queries Dune Analytics (query ID: 5232018) to fetch a ranked list of wallets based on their total trading volume, formatted as a tabulated string. Args: limit (int, optional): Maximum number of wallets to return. Defaults to 10. Returns: str: A tabulated string containing the rank, wallet address, trade count, and total trading volume (in USD) for each wallet, or an empty string if the query fails. Raises: Exception: If the API request or data retrieval encounters an error.
get_trading_wallet_distribution
Retrieve the distribution of wallets by trading volume on Pumpfun and Pumpswap, excluding bots. This function queries Dune Analytics (query ID: 5239138) to fetch the number of wallets grouped by trading volume tiers, formatted as a tabulated string. Returns: str: A tabulated string containing the volume tier and number of wallets in each tier, or an empty string if the query fails. Raises: Exception: If the API request or data retrieval encounters an error.
README
Pumpfun Wallets MCP
An MCP server that analyzes wallets’ trading activity and profitability on Pump.fun and PumpSwap.
Features
- Total Wallets: Retrieve the total number of wallets on Pumpfun and Pumpswap.
- Top Profitable Wallets: Fetch the top wallets by realized profit over the last 30 days, with rank, wallet address, profit, and last transaction timestamp.
- Top Trading Wallets: Get the top wallets by all-time trading volume, including trade count and total volume in USD.
- Wallet Distribution: View the distribution of wallets by trading volume tiers, excluding bots, for insights into trading activity.
- Tabulated Output: Returns data in a clean, tabulated string format for easy readability.
Prerequisites
- Python 3.10+
- A valid Dune Analytics API key
Installation
-
Clone the Repository:
git clone https://github.com/kukapay/pumpfun-wallets-mcp.git cd pumpfun-wallets-mcp
-
Install Dependencies:
uv sync
-
Installing to Claude Desktop:
Install the server as a Claude Desktop application:
uv run mcp install main.py --name "pumpfun-wallets-mcp"
Configuration file as a reference:
{ "mcpServers": { "Pumpfun Wallets": { "command": "uv", "args": [ "--directory", "/path/to/pumpfun-wallets-mcp", "run", "main.py" ], "env": { "DUNE_API_KEY": "dune_api_key"} } } }
Replace
/path/to/pumpfun-wallets-mcp
with your actual installation path, anddune_api_key
with your API key from Dune Analytics.
Tools
The server provides the following tools, accessible via the MCP interface or API:
get_total_wallets()
- Description: Retrieves the total number of wallets on Pumpfun and Pumpswap.
- Returns: Integer (total wallet count, or 0 on error).
- Example:
How many wallets are there on Pumpfun and Pumpswap?
get_alpha_wallets(limit: int = 100)
- Description: Fetches the top profitable wallets for the last 30 days, including rank, wallet address, realized profit (USD), and last transaction timestamp.
- Parameters:
limit
(optional, default: 100) - Maximum number of wallets to return. - Returns: Tabulated string with wallet data, or empty string on error.
- Example:
Show me the top 5 most profitable wallets on Pumpfun and Pumpswap for the last 30 days.
Output:
Rank Wallet Realized Profit Last Tx
---- ------------------------------------------ --------------- --------------------
1 0x123...abc $50000 2025-06-10 12:34:56
2 0x456...def $45000 2025-06-09 09:12:34
...
get_trading_wallets(limit: int = 10)
- Description: Retrieves the top wallets by all-time trading volume, including rank, wallet address, trade count, and total volume (USD).
- Parameters:
limit
(optional, default: 10) - Maximum number of wallets to return. - Returns: Tabulated string with wallet data, or empty string on error.
- Example:
Who are the top 3 wallets with the highest trading volume on Pumpfun and Pumpswap?
Output:
Rank Wallet Trade Count Total Volume
---- ------------------------------------------ ----------- ------------
1 0x789...ghi 1500 $1000000
2 0xabc...jkl 1200 $950000
3 0xdef...mno 1000 $800000
get_trading_wallet_distribution()
- Description: Fetches the distribution of wallets by trading volume tiers (excluding bots).
- Returns: Tabulated string with volume tiers and wallet counts, or empty string on error.
- Example:
What is the distribution of wallets by trading volume on Pumpfun and Pumpswap, excluding bots?
Output:
Volume Tier Number of Wallets
--------------- -----------------
$0 - $1000 5000
$1000 - $10000 2000
$10000+ 500
License
This project is licensed under the MIT License. See the LICENSE file for details.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.