
Opensearch Mcp
io.github.mrfentmenPublished by GitHub account mrfentmenv1.0.3Updated Nov 8, 2026
Search OpenSearch indices, manage documents, check health and stats.
Overview
Local MCP server that lets an assistant search OpenSearch indices, manage documents and indices, and inspect cluster health and stats.
- What you can do
- Search indices with simple queries or raw OpenSearch query DSL, and list or fetch documents by ID
- Add and delete documents, and create or delete indices
- List indices, get index details and mappings
- Check cluster health, instance and cluster statistics, async tasks, shards and nodes
- When to use it
- Useful when an assistant needs to query or maintain an OpenSearch cluster, for example searching a products or logs index, counting documents, or checking whether a cluster is healthy.
- Requirements
- Runs locally via npx (Node.js). Needs a reachable OpenSearch server URL in OPENSEARCH_URL (defaults to and either an API key in OPENSEARCH_API_KEY or basic auth via OPENSEARCH_USERNAME and OPENSEARCH_PASSWORD.
Installation
In SourceWeft
- Open Opensearch Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
OpenSearch MCP
An MCP server for OpenSearch, the community-driven, Apache 2.0 search and analytics suite.
What it does
Search through OpenSearch indices, manage documents, create/delete indexes, check cluster health, and monitor statistics. Perfect for AI agents that need to query search indexes.
Tools
check_health- Check cluster health statuslist_indices- List all indicesget_index- Get index detailscreate_index- Create a new indexdelete_index- Delete an indexsearch_index- Search documents in an indexsearch_raw- Search with raw OpenSearch query DSLget_documents- List documents in an indexget_document- Get a single document by IDindex_document- Add a document to an indexdelete_document- Delete a document by IDget_stats- Get instance-wide statisticsget_cluster_stats- Get cluster statisticsget_tasks- List async tasksget_mappings- Get index mappingslist_shards- List all shardslist_nodes- List all cluster nodes
Install
Environment Variables
OPENSEARCH_URL- OpenSearch server URL (default:http://localhost:9200)OPENSEARCH_API_KEY- API key for authentication (preferred)OPENSEARCH_USERNAME/OPENSEARCH_PASSWORD- Basic auth credentials
Claude Desktop setup
Example usage
"Search my products index for 'wireless headphones'" "Check if my OpenSearch cluster is healthy" "Create a new index called 'blog-posts'" "How many documents are in my logs index?"
License
MIT
Source: README.md at commit 03a0dd9
Tools
0Version history
2- v1.0.2Sep 22, 2026
- v1.0.1Sep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.