Skip to main content
Glama

Elasticsearch Knowledge Graph for MCP

by j3k0

search_nodes

Query entities in structured data using Elasticsearch syntax. Filter by entity types, sort by relevance or recency, and specify zones for isolation. Enhances search precision with advanced operators like boolean, proximity, and wildcards for Knowledge Graph insights.

Instructions

Search entities using ElasticSearch query syntax. Supports boolean operators (AND, OR, NOT), fuzzy matching (~), phrases ("term"), proximity ("terms"N), wildcards (*, ?), and boosting (^N). Examples: 'meeting AND notes', 'Jon', '"project plan"~2'. All searches respect zone isolation.

Input Schema

NameRequiredDescriptionDefault
entityTypesNoFilter to specific entity types (OR condition if multiple).
includeObservationsNoInclude full entity observations (default: false).
informationNeededYesImportant. Describe what information you are looking for, to give a precise context to the search engine AI agent. What questions are you trying to answer? Helps get more useful results.
limitNoMax results (default: 20, or 5 with observations).
memory_zoneYesLimit search to specific zone. Omit for default zone.
queryYesElasticSearch query string.
reasonYesExplain why this information is needed to help the AI agent give better results. The more context you provide, the better the results will be.
sortByNoSort by match quality, access time, or importance.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "entityTypes": { "description": "Filter to specific entity types (OR condition if multiple).", "items": { "type": "string" }, "type": "array" }, "includeObservations": { "default": false, "description": "Include full entity observations (default: false).", "type": "boolean" }, "informationNeeded": { "description": "Important. Describe what information you are looking for, to give a precise context to the search engine AI agent. What questions are you trying to answer? Helps get more useful results.", "type": "string" }, "limit": { "description": "Max results (default: 20, or 5 with observations).", "type": "integer" }, "memory_zone": { "description": "Limit search to specific zone. Omit for default zone.", "type": "string" }, "query": { "description": "ElasticSearch query string.", "type": "string" }, "reason": { "description": "Explain why this information is needed to help the AI agent give better results. The more context you provide, the better the results will be.", "type": "string" }, "sortBy": { "description": "Sort by match quality, access time, or importance.", "enum": [ "relevance", "recency", "importance" ], "type": "string" } }, "required": [ "query", "memory_zone", "informationNeeded", "reason" ], "type": "object" }

Other Tools from Elasticsearch Knowledge Graph for MCP

Related Tools

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/j3k0/mcp-brain-tools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server