splunk-mcp-server
Provides tools for interacting with Splunk Enterprise, enabling searches, retrieving indexes, knowledge objects, user information, and error logs.
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., "@splunk-mcp-serversearch for errors in the last 24 hours"
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.
splunk-mcp-server
A lightweight, extensible Model Context Protocol (MCP) server for Splunk Enterprise, designed to integrate with Claude Desktop or any MCP-compatible agent. Enables secure, async, chat-based interaction with your Splunk data using FastMCP.
🔧 Supported Tools
get_knowledge_objectssearch_splunkget_splunk_indexesget_log_statsget_all_usersget_user_infosearch_errors
âš¡ Features
âš¡ Async HTTP client via
httpx🧩 Simple plugin-style architecture for adding tools
💻 Designed for local development or integration with Claude Desktop
🚀 Built with FastMCP and Python 3.13
🛠Installation Guide
1. Install Claude Desktop
Download and install from Anthropic Claude Desktop (macOS only for now).
2. Install uv (Python package manager by Astral)
sudo curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR="/opt" sh
3. Clone the repository
git clone https://github.com/balajifunny/splunk-mcp-server.git
cd splunk-mcp-server
4. Set your Splunk Configurations
Update the Splunk configuration section in main.py
SPLUNK_HOST=127.0.0.1
SPLUNK_PORT=8089
SPLUNK_USERNAME=<your_splunk_username>
SPLUNK_PASSWORD=<your_splunk_password>
SPLUNK_SCHEME=https5. Update Claude Desktop configuration
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"splunk-mcp-demo": {
"command": "/opt/uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"/Users/<your_user_name>/splunk-mcp-server/main.py"
]
}
}
}
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/balajifunny/splunk-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server