Skip to main content
Glama
danielsimonjr

Enhanced Knowledge Graph Memory Server

get_centrality

Calculate centrality metrics for entities in a knowledge graph to identify key nodes using degree, betweenness, or PageRank algorithms.

Instructions

Calculate centrality metrics for entities in the graph

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
algorithmNoCentrality algorithm to use (default: degree)
directionNoDirection for degree centrality (default: both)
topNNoNumber of top entities to return (default: 10)
dampingFactorNoDamping factor for PageRank (default: 0.85)
approximateNoUse approximation for faster betweenness centrality (default: false)
sampleRateNoSample rate for approximation (0.0-1.0, default: 0.2)

Latest Blog Posts

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/danielsimonjr/memory-mcp'

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