Skip to main content
Glama
T-NhanNguyen

GraphRAG Llama Index MCP Server

by T-NhanNguyen

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LLM_URLNoThe URL of the LLM API endpoint (e.g., 'http://host.docker.internal:12434/v1' for local, 'https://openrouter.ai/api/v1' for OpenRouter)
LLM_MODELNoThe LLM model to use (e.g., 'llama3.3:8b' for local, 'deepseek/deepseek-chat' for OpenRouter)
LLM_API_KEYNoThe API key for the LLM provider (use 'not-needed' for local models, or your actual API key for OpenRouter)
RELATIONSHIP_PROVIDERNoThe LLM provider to use for relationship extraction (e.g., 'openai' for local Docker, 'openrouter' for cloud)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search

Search the GraphRAG knowledge base with THREE distinct modes:

CRITICAL: For ticker symbols (ASTS, RKLB, NBIS) or acronyms, ALWAYS use 'keyword_lookup' FIRST. Semantic search (entity_connections/thematic_overview) can MISS exact ticker matches.

Workflow:

  1. Ticker/Acronym Query → Use 'keyword_lookup' to find raw mentions

  2. If found → Extract entity names from results

  3. Then use 'entity_connections' or 'thematic_overview' with full entity names for deeper analysis

Mode Selection Guide:

  • 'keyword_lookup': Direct BM25 retrieval for EXACT terms (tickers, acronyms, specific names) → Returns: Raw text chunks containing the literal search term → Use for: ASTS, NYSE:RKLB, "Direct-to-Cell", specific product names

  • 'entity_connections': Find entities and their knowledge graph relationships → Returns: Entities + relationships + supporting chunks → Use for: Company relationships, competitive landscape, partnerships → Example: After finding 'AST SpaceMobile' via keyword_lookup, search 'AST SpaceMobile competitors partners'

  • 'thematic_overview': High-level patterns and trends across corpus → Returns: Broad thematic context → Use for: Industry trends, macro narratives, sector analysis → Example: 'satellite telecommunications market trends'

explore_entity_graph

Traverse the knowledge graph starting from a specific entity. Returns the entity, its direct connections (other entities), and the relationships between them. Use this to build reasoning chains or verify facts about a known entity.

get_corpus_stats

Get statistics about the indexed knowledge base. Returns counts of documents, chunks, entities, and relationships. Use for corpus health checks or to understand the scale of available data.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/T-NhanNguyen/graphRAG-LlamaIndex'

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