LlamaIndex MCP

LlamaIndex MCP lets agents use LlamaCloud: upload, parse, classify, split and extract structured data from documents, build and sync indexes over directories, and search or read indexed files.

27 actionsAPI key

Connect LlamaIndex MCP

What your agent can do in LlamaIndex MCP

Looks up

  • Find files in indexSearch files within an index.
  • Get index statusCheck whether an index has finished building.
  • Get schema templateRetrieve the full JSON Schema for one starter extraction template, by id, as returned by searchSchemaTemplates.
  • Get user projectsList the projects available to the user, with their names, so you can pass the right projectId to other tools.
  • Grep file from indexGrep the content of a file from an index, providing its file ID, the pattern to grep for and, optionally, a number of context characters…
  • List directoriesList the directories in a project.
  • List directoryList the files inside a directory, along with the directory itself.
  • List indexesList all the available indexes on the LlamaParse Platform.
  • Read file from indexRead the content of a file from an index, providing its file ID and, optionally, an offset and a maximum length (in characters) to read.
  • Retrieve from indexPerform hybrid search on the index, providing a query and, optionally, the top K documents to retrieve and the top N documents to rerank.
Show 1 more
  • Search schema templatesSearch the built-in library of starter extraction schemas (invoice, contract, resume, 10-K, patient intake and more) by keyword or category.

Takes action

  • Add files to directoryAdd already-uploaded files to a directory, so they can be indexed.
  • Classify fileClassify a file (based on specific categories) providing its file ID.
  • Create directoryCreate a directory (folder) to hold source documents.
  • Create extraction config from schemaCreate an extraction configuration from a JSON Schema you already have, and return its configuration id for use with extractFile.
  • Create indexCreate an index over a directory, making its documents searchable with retrieveFromIndex and the other index tools.
  • Create project api keyCreate a LlamaCloud API key scoped to one project, for handing to an application or a teammate.
  • Estimate file complexityEstimate the parsing complexity of a PDF file (providing its file ID) using LiteParse.
  • Extract fileExtract structured data from a file based on the configuration created with the generateExtractionConfig tool.
  • Extract file turboExtract structured data from a file in real time using the Turbo tier.
  • Generate extraction configGenerate the configuration to extract structured data from a specific file using the Extract service from the LlamaParse Platform.
Show 6 more
  • Get upload urlGet a pre-signed URL to upload a file to the LlamaParse S3 storage.
  • Parse fileParse a file providing its file ID, retrieving markdown or plain text content of the file.
  • Parse with lite parseParse a PDF file with LiteParse, a fast, in-process parser that does not consume credits from the LlamaParse Platform.
  • Split fileSplit a file into category-based segments providing its file ID.
  • Sync indexRe-index a directory, picking up files added or changed since the last run.
  • Upload file by urlUpload a file to LLamaParse S3 storage providing a URL to download the file data.

More developer apps