{
  "markdown": "# OpenSearch MCP\n\nAn MCP server for [OpenSearch](https://opensearch.org/), the community-driven, Apache 2.0 search and analytics suite.\n\n## What it does\n\nSearch through OpenSearch indices, manage documents, create/delete indexes, check cluster health, and monitor statistics. Perfect for AI agents that need to query search indexes.\n\n## Tools\n\n- `check_health` - Check cluster health status\n- `list_indices` - List all indices\n- `get_index` - Get index details\n- `create_index` - Create a new index\n- `delete_index` - Delete an index\n- `search_index` - Search documents in an index\n- `search_raw` - Search with raw OpenSearch query DSL\n- `get_documents` - List documents in an index\n- `get_document` - Get a single document by ID\n- `index_document` - Add a document to an index\n- `delete_document` - Delete a document by ID\n- `get_stats` - Get instance-wide statistics\n- `get_cluster_stats` - Get cluster statistics\n- `get_tasks` - List async tasks\n- `get_mappings` - Get index mappings\n- `list_shards` - List all shards\n- `list_nodes` - List all cluster nodes\n\n## Install\n\n```bash\nnpx opensearch-mcp\n```\n\n## Environment Variables\n\n- `OPENSEARCH_URL` - OpenSearch server URL (default: `http://localhost:9200`)\n- `OPENSEARCH_API_KEY` - API key for authentication (preferred)\n- `OPENSEARCH_USERNAME` / `OPENSEARCH_PASSWORD` - Basic auth credentials\n\n## Claude Desktop setup\n\n```json\n{\n  \"mcpServers\": {\n    \"opensearch\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"opensearch-mcp\"],\n      \"env\": {\n        \"OPENSEARCH_URL\": \"http://localhost:9200\",\n        \"OPENSEARCH_API_KEY\": \"your-api-key\"\n      }\n    }\n  }\n}\n```\n\n## Example usage\n\n\"Search my products index for 'wireless headphones'\"\n\"Check if my OpenSearch cluster is healthy\"\n\"Create a new index called 'blog-posts'\"\n\"How many documents are in my logs index?\"\n\n## License\n\nMIT\n",
  "bytes": 1837,
  "sha": "d20e4460828dd0b8598d451a99dca5109cd6a2a37b4ada5a8bbfe2106274c0a9",
  "repo_slug": "mrfentmen/opensearch-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_mrfentmen_opensearch_mcp_143189c6/readme"
}