LlamaCloud MCP Server
@run-llama
About LlamaCloud MCP Server
A MCP server connecting to managed indexes on LlamaCloud
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"llamacloud": {
"command": "npx",
"args": [
"-y",
"@llamaindex/mcp-server-llamacloud",
"--index",
"10k-SEC-Tesla",
"--description",
"10k SEC documents from 2023 for Tesla",
"--topK",
"5",
"--index",
"10k-SEC-Apple",
"--description",
"10k SEC documents from 2023 for Apple"
],
"env": {
"LLAMA_CLOUD_API_KEY": "<YOUR_API_KEY>"
}
}
}
}Tools
1generates tool names like `get_information_index_name` based on index names
Overview
What is LlamaCloud MCP Server?
LlamaCloud MCP Server is a TypeScript-based MCP server that connects to multiple managed indexes on LlamaCloud. It creates separate MCP tools for each index, allowing users to query their LlamaCloud documents through an MCP client.
How to use LlamaCloud MCP Server?
Configure the server in your MCP client (e.g., Claude Desktop, Windsurf, or Cursor) by adding an entry with command npx -y @llamaindex/mcp-server-llamacloud and passing --index, --description, and optionally --topK arguments for each index. Set the LLAMA_CLOUD_API_KEY environment variable to your API key.
Key features of LlamaCloud MCP Server
- Creates a separate tool for each defined index
- Each tool provides a
queryparameter for searching - Auto-generates tool names like
get_information_index_name - Supports optional
--topKto limit results per tool
Use cases of LlamaCloud MCP Server
- Querying 10k SEC documents for multiple companies from a single server
- Searching indexed knowledge bases through an MCP client interface
- Managing and querying multiple LlamaCloud projects within one agent
FAQ from LlamaCloud MCP Server
How do I configure the server for my MCP client?
Add a JSON entry to your MCP client config with command npx -y @llamaindex/mcp-server-llamacloud, provide --index and --description pairs, and set LLAMA_CLOUD_API_KEY in the env block.
Where can I find my MCP client configuration file?
On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows: %APPDATA%/Claude/claude_desktop_config.json.
How do I define multiple indexes (tools)?
Repeat the --index and --description arguments in the args array. Each pair creates a new tool. Optionally add --topK after a pair to limit its results.
What environment variables are required?
LLAMA_CLOUD_API_KEY is required. LLAMA_CLOUD_PROJECT_NAME is optional and defaults to Default if not set.
How can I debug the server?
Use the MCP Inspector by running npm run inspector from the project directory. It provides a URL with debugging tools for stdio-based MCP servers.
More AI & Agents MCP servers
MCP Claude Code
SDGLBLMCP implementation of Claude Code capabilities and more
21st.dev Magic AI Agent
21st-devIt's like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend like Magic
Shell and Coding agent for Claude and other mcp clients
rusiaamanShell and coding agent on mcp clients
meGPT - upload an author's content into an LLM
adriancoCode to process many kinds of content by an author into an MCP server
Sequential Thinking Multi-Agent System (MAS)
FradSerAn advanced sequential thinking process using a Multi-Agent System (MAS) built with the Agno framework and served via MCP.
Comments