OpenObserve community stdio MCP server
Project description
OpenObserve MCP
stdio MCP server for OpenObserve Community Edition, using only the regular REST API.
This package is designed for local MCP clients such as Claude and Codex.
What it is:
stdioonly- Community Edition only
- read-only only
- regular OpenObserve REST API only
- no native
/mcpendpoint
Quick Start
1. Create a config file
uvx --from openobserve-community-mcp openobserve-mcp init-config
This creates a sample config at:
~/.config/openobserve-mcp/config.env
Edit it:
$EDITOR ~/.config/openobserve-mcp/config.env
Example:
OO_BASE_URL=https://openobserve.example.com
# Optional if the credentials have access to exactly one organization.
# OO_ORG_ID=default
OO_AUTH_MODE=basic
OO_USERNAME=your_username
OO_PASSWORD=your_password
OO_TIMEOUT_SECONDS=20
OO_VERIFY_SSL=true
2. Add it to Claude
claude mcp add -s user openobserve-community -- uvx --from openobserve-community-mcp openobserve-mcp
3. Add it to Codex
codex mcp add openobserve-community -- uvx --from openobserve-community-mcp openobserve-mcp
Configuration
Default config path:
~/.config/openobserve-mcp/config.env
Supported settings:
OO_BASE_URLOO_ORG_IDoptionalOO_AUTH_MODEOO_USERNAMEandOO_PASSWORDfor basic authOO_TOKENfor bearer authOO_TIMEOUT_SECONDSOO_VERIFY_SSLOO_CONFIG_FILEoptional explicit path to a config file
Config precedence:
- explicit
OO_CONFIG_FILE ~/.config/openobserve-mcp/config.env- legacy
.env.localin the current directory - process environment overrides file values
You can also pass config directly via MCP client env settings.
Claude with inline env
claude mcp add -s user openobserve-community \
-e OO_BASE_URL=https://openobserve.example.com \
-e OO_AUTH_MODE=basic \
-e OO_USERNAME=your_username \
-e OO_PASSWORD=your_password \
-- uvx --from openobserve-community-mcp openobserve-mcp
Codex with inline env
codex mcp add openobserve-community \
--env OO_BASE_URL=https://openobserve.example.com \
--env OO_AUTH_MODE=basic \
--env OO_USERNAME=your_username \
--env OO_PASSWORD=your_password \
-- uvx --from openobserve-community-mcp openobserve-mcp
Tools
list_streamsget_stream_schemasearch_logssearch_aroundsearch_valueslist_dashboardsget_dashboardget_latest_traces
Optional Local Install
If you prefer a persistent local binary instead of uvx:
uv tool install openobserve-community-mcp
This installs the openobserve-mcp command into your user-level uv tools directory.
Add To Claude With Global Install
claude mcp add -s user openobserve-community -- openobserve-mcp
Add To Codex With Global Install
codex mcp add openobserve-community -- openobserve-mcp
You can also run the server directly:
openobserve-mcp
This mode may require ~/.local/bin to be present in your PATH.
If openobserve-mcp is not found, either:
- add
~/.local/binto yourPATH; or - use the recommended
uvx --from openobserve-community-mcp openobserve-mcplaunch mode instead.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openobserve_community_mcp-0.1.6.tar.gz.
File metadata
- Download URL: openobserve_community_mcp-0.1.6.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08b5e4b9e13d0c7fa48920e4db64d02e208ec1265a7aa60703d9fa9c02e60694
|
|
| MD5 |
abb6e54234a940dbf31bc0118bf17da1
|
|
| BLAKE2b-256 |
18dd7efdd815192e1a34e421b74bef1852c718918df3bed14b51a162568f15d6
|
Provenance
The following attestation bundles were made for openobserve_community_mcp-0.1.6.tar.gz:
Publisher:
publish.yml on alilxxey/openobserve-community-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openobserve_community_mcp-0.1.6.tar.gz -
Subject digest:
08b5e4b9e13d0c7fa48920e4db64d02e208ec1265a7aa60703d9fa9c02e60694 - Sigstore transparency entry: 1155301694
- Sigstore integration time:
-
Permalink:
alilxxey/openobserve-community-mcp@0fa5b4a26cc207cc60e8f0d23f14d1f080c20e9e -
Branch / Tag:
refs/tags/0.1.6 - Owner: https://github.com/alilxxey
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0fa5b4a26cc207cc60e8f0d23f14d1f080c20e9e -
Trigger Event:
push
-
Statement type:
File details
Details for the file openobserve_community_mcp-0.1.6-py3-none-any.whl.
File metadata
- Download URL: openobserve_community_mcp-0.1.6-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b32a31be6ce329565f29d75387100a6068309d7fda9c38afd8a5af6c66dd06e
|
|
| MD5 |
f55c9e33913bfbfb4623b1c7e6632614
|
|
| BLAKE2b-256 |
489ad82c12acfc07072a8c4e9a82bf008b0faf763749ea9f05d7e11cc67d14d3
|
Provenance
The following attestation bundles were made for openobserve_community_mcp-0.1.6-py3-none-any.whl:
Publisher:
publish.yml on alilxxey/openobserve-community-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openobserve_community_mcp-0.1.6-py3-none-any.whl -
Subject digest:
0b32a31be6ce329565f29d75387100a6068309d7fda9c38afd8a5af6c66dd06e - Sigstore transparency entry: 1155301696
- Sigstore integration time:
-
Permalink:
alilxxey/openobserve-community-mcp@0fa5b4a26cc207cc60e8f0d23f14d1f080c20e9e -
Branch / Tag:
refs/tags/0.1.6 - Owner: https://github.com/alilxxey
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0fa5b4a26cc207cc60e8f0d23f14d1f080c20e9e -
Trigger Event:
push
-
Statement type: