noodlbox
MCP ServerResources

Database Schema

Knowledge graph structure reference

View the structure of the knowledge graph before writing Cypher queries.

URI

db://schema/{repository}

Node Types

CodeSymbol

Functions, classes, methods, variables, interfaces, enums, and more.

PropertyTypeDescription
nameSTRINGSymbol name
symbol_typeSTRINGSymbol kind (see table below)
file_pathSTRINGFile location
line_numberINT64Starting line
contentSTRINGFull symbol body
signatureSTRINGSymbol signature

Symbol Types

TypeScript:

KindDescription
ClassES6 class definition
MethodClass method
FunctionStandalone function
AttributeClass property
InterfaceTypeScript interface
TypeAliasType alias (type X = ...)
EnumEnum declaration
ConstantConst export
ExportRe-export statement

Python:

KindDescription
ClassClass definition
MethodClass method
FunctionStandalone function
AttributeClass attribute
EnumEnum subclass
ConstantModule-level UPPER_CASE constant
TypeAliasType alias assignment

File

Source files in the repository.

PropertyType
pathSTRING
extensionSTRING

Community

Code communities detected by modularity analysis.

PropertyTypeDescription
labelSTRINGCommunity name
cohesionDOUBLE0-1, higher is more cohesive
symbol_countINT64Number of symbols

Process

Execution flows through the codebase.

PropertyTypeDescription
labelSTRINGProcess name
process_typeSTRINGintra_community or cross_community
step_countINT64Number of steps

Relationships

RelationshipFromToDescription
CALLSCodeSymbolCodeSymbolFunction calls
CONTAINED_BYCodeSymbolFileSymbol in file
MEMBER_OFCodeSymbolCommunitySymbol belongs to community
STEP_IN_PROCESSCodeSymbolProcessStep in execution flow

Example Query

// Find all functions in the Authentication community
MATCH (s:CodeSymbol)-[:MEMBER_OF]->(c:Community)
WHERE c.label = "Authentication"
  AND s.symbol_type = "Function"
RETURN s.name, s.file_path

On this page