mcp-parseable-server
MCP server for Parseable observability platform
mcp-parseable-server - A Parseable MCP Server
This project is currently in early development. Feedback and contributions are welcome.
Testing has been done using:
- vscode with Github Copilot as the agent.
- opencode agent CLI tool - works from v0.2.0
Overview
This project provides an MCP (Message Context Protocol) server for Parseable, enabling AI agents and tools to interact with Parseable data streams (logs, metrics, traces) using natural language and structured tool calls.
Features
- List available data streams in Parseable
- Query data streams using SQL
- Get schema, stats, and info for any data stream
- Modular MCP tool registration for easy extension
- Supports both HTTP and stdio MCP modes
- Environment variable and flag-based configuration
Building
Ensure you have Go 1.20+ installed.
git clone https://github.com/thenodon/mcp-parseable-server
cd mcp-parseable-server
# Build the MCP server binary
go build -o mcp-parseable-server ./cmd/mcp_parseable_server
Running
HTTP Mode (default)
./mcp-parseable-server --listen :9034
The MCP server will listen on http://localhost:9034/mcp for agent/tool requests.
Stdio Mode
./mcp-parseable-server --mode stdio
This mode is used for CLI or agent-to-agent workflows.
Configuration
You can configure the Parseable connection using environment variables or flags:
PARSEABLE_URLor--parseable-url- url to the parseable instance (default: http://localhost:8000)PARSEABLE_USERor--parseable-user(default: admin)PARSEABLE_PASSor--parseable-pass(default: admin)LISTEN_ADDRor--listen- the address when running the mcp server in http mode (default: :9034)
Example:
PARSEABLE_URL="http://your-parseable-host:8000" PARSEABLE_USER="admin" PARSEABLE_PASS="admin" ./mcp-parseable-server
MCP Tools
1. query_data_stream
Execute a SQL query against a data stream.
- Inputs:
query: SQL query stringstreamName: Name of the data streamstartTime: ISO 8601 start time (e.g. 2026-01-01T00:00:00+00:00)endTime: ISO 8601 end time
- Returns: Query result
2. list_data_streams
List all available data streams in Parseable.
- Returns: Array of stream names
3. get_data_stream_schema
Get the schema for a specific data stream.
- Inputs:
stream: Name of the data stream
- Returns: Schema fields and types
4. get_data_stream_stats
Get stats for a data stream.
- Inputs:
streamName: Name of the data stream
- Returns: Stats object (see tool description for details)
5. get_data_stream_info
Get info for a data stream.
- Inputs:
streamName: Name of the data stream
- Returns: Info object (see tool description for details)
Example: Querying with curl
- List streams:
curl -X POST http://localhost:8080/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "callTool",
"params": { "tool": "list_data_streams", "arguments": {} }
}'
- Query a stream:
curl -X POST http://localhost:8080/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "callTool",
"params": {
"tool": "query_data_stream",
"arguments": {
"query": "SELECT COUNT(*) FROM log WHERE body ILIKE '%clamd%'",
"streamName": "otellogs",
"startTime": "2026-01-01T00:00:00+00:00",
"endTime": "2026-01-06T00:00:00+00:00"
}
}
}'
- Get schema for a stream:
curl -X POST http://localhost:8080/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 3,
"method": "callTool",
"params": {
"tool": "get_data_stream_schema",
"arguments": {
"stream": "otellogs"
}
}
}'
Tool Discovery
Agents can discover all available tools and their input/output schemas via the MCP protocol. Each tool description includes details about returned fields and their meanings.
Extending
To add new tools, create a new file in tools/, implement the registration function, and add it to RegisterParseableTools in tools/register.go.
License
This work is licensed under the GNU GENERAL PUBLIC LICENSE Version 3.
Todo
- No prompts or resources are currently included for agent usage.
- No tools to understand standalone or cluster Parseable setup.
- .....
Related Servers
CIViC MCP Server
A server for querying the CIViC API, converting GraphQL responses into queryable SQLite tables using Cloudflare Workers.
DB Query
Query and export data from various databases including ElasticSearch, MySQL, PostgreSQL, Oracle, and SQLite.
Elastic MCP
Interact with an Elasticsearch cluster via the Model Context Protocol (MCP), enabling clients to query, manage, and analyze data.
MongoDB Atlas MCP Server
Manage MongoDB Atlas projects, including cluster creation, user management, and network access configuration.
Crunchbase
Access Crunchbase data for business information and insights. Requires a Crunchbase API key.
FinanceMCP
Provides real-time financial data using the Tushare API.
Metabase MCP Server
Integrates AI assistants with the Metabase business intelligence and analytics platform.
Pipedrive MCP Server by CData
A read-only MCP server for Pipedrive, enabling LLMs to query live data using the CData JDBC Driver.
MCP-PostgreSQL-Ops
MCP-PostgreSQL-Ops is a professional MCP server for PostgreSQL database operations, monitoring, and management. Supports PostgreSQL 12-17 with comprehensive database analysis, performance monitoring, and intelligent maintenance recommendations through natural language queries.
PostgreSQL
Provides read-only access to PostgreSQL databases, enabling schema inspection and query execution.