Elasticsearch Knowledge Graph for MCP

by j3k0

search_nodes

Query entities in the MCP knowledge graph using Elasticsearch syntax. Filter by types, include observations, and sort results to find relevant information for specific questions, respecting zone isolation.

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).
informationNeedsYesImportant. Describe what information you are looking for. What questions are you trying to answer? Helps get more useful results.
limitNoMax results (default: 20, or 5 with observations).
memory_zoneNoLimit search to specific zone. Omit for default zone.
queryYesElasticSearch query string. Use '*' for all entities.
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" }, "informationNeeds": { "description": "Important. Describe what information you are looking for. 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. Use '*' for all entities.", "type": "string" }, "sortBy": { "description": "Sort by match quality, access time, or importance.", "enum": [ "relevance", "recency", "importance" ], "type": "string" } }, "required": [ "query", "informationNeeds" ], "type": "object" }

You must be authenticated.

Other Tools from Elasticsearch Knowledge Graph for MCP

Related Tools

ID: h9w4cyfdqx