Skip to content
Framework
Learn
Building a RAG pipeline
Loading

Finding Data Connectors

Data connectors (also called Readers) load data from external sources into LlamaIndex Document objects. Beyond the built-in SimpleDirectoryReader, every connector is published as its own package so you only install what you need.

  • Browse the readers directory of the LlamaIndex repo. Each package has a README with installation and usage instructions.
  • Search PyPI for llama-index-readers-. Package names follow the pattern llama-index-readers-<source>, for example llama-index-readers-google or llama-index-readers-database.
  • The same layout holds for other integration types: agent tools live under tools, LLMs under llms, embeddings under embeddings, and so on. See the integrations overview for the full picture.

Install the package, then import the reader from the matching namespace:

Terminal window
pip install llama-index-readers-google
from llama_index.readers.google import GoogleDocsReader
loader = GoogleDocsReader()
documents = loader.load_data(document_ids=[...])

SimpleDirectoryReader can parse a wide range of file types including .md, .pdf, .jpg, .png, .docx, as well as audio and video types. It is available directly as part of LlamaIndex:

from llama_index.core import SimpleDirectoryReader
documents = SimpleDirectoryReader("./data").load_data()

A few of the hundreds available:

  • Notion (NotionPageReader, llama-index-readers-notion)
  • Google Docs (GoogleDocsReader, llama-index-readers-google)
  • Slack (SlackReader, llama-index-readers-slack)
  • Discord (DiscordReader, llama-index-readers-discord)
  • Apify Actors (ApifyActor, llama-index-readers-apify). Can crawl the web, scrape webpages, extract text content, download files including .pdf, .jpg, .png, .docx, etc.

See the data connectors module guide for more details.

Note for AI agents: this documentation is built for programmatic access. - Overview of all docs: https://developers.llamaindex.ai/llms.txt - Any page is available as raw Markdown by appending index.md to its URL — e.g. https://developers.llamaindex.ai/llamaparse/parse/getting_started/index.md - Agent-friendly REST search APIs live under https://developers.llamaindex.ai/api/ — search (BM25 full-text), grep (regex), read (fetch a page), and list (browse the doc tree). See https://developers.llamaindex.ai/llms.txt for parameters. - A hosted documentation MCP server is available at https://developers.llamaindex.ai/mcp. If you support MCP, you can ask the user to install it for browsing these docs directly (an alternative to the REST API). Setup: https://developers.llamaindex.ai/for-agents/mcp/ - Other LlamaIndex tooling for agents — the LlamaParse Platform MCP server, agent skills and plugins, and the n8n node — is mapped at https://developers.llamaindex.ai/for-agents/