
bucketlens
Lets AI agents query PDFs and spreadsheets in S3 or R2 buckets without downloading them.
- tools
- 7
- auth
- Secret needed
- transport
- STDIO
- env vars
- 6
- last updated
- Nov 15, 2026
What it does
- Reads metadata and structure with
list_files,outline, andsearch_all, plus page text viaread_pagesand row data viaread_rows - Runs read-only SQL with
queryover spreadsheets and CSVs, with each sheet exposed as a table; no write or delete tools are exposed - Requires S3 or R2 access keys saved locally by
bucketlens setup, and runs over stdio throughuvxorpipinstall - Designed for agents without local file access, such as chat apps and MCP-only clients, that need to answer questions over large document collections
Tools
7 toolsPublic tool metadata for what this MCP can expose to an agent.
list_filesnames, sizes, dates; nothing is downloaded
names, sizes, dates; nothing is downloaded
No parameter schema in public metadata yet.
outlinePDF: pages, table of contents with page numbers, token cost of reading it whole. Spreadsheet: sheets, rows, columns and types
PDF: pages, table of contents with page numbers, token cost of reading it whole. Spreadsheet: sheets, rows, columns and types
No parameter schema in public metadata yet.
searchpages of one PDF that contain the text, with snippets
pages of one PDF that contain the text, with snippets
No parameter schema in public metadata yet.
search_allevery PDF in a folder at once, as compact hits or just file names and counts
every PDF in a folder at once, as compact hits or just file names and counts
No parameter schema in public metadata yet.
read_pagestext of specific pages, e.g. "36-38"
text of specific pages, e.g. "36-38"
No parameter schema in public metadata yet.
queryread-only SQL over a spreadsheet or CSV; each sheet is a table
read-only SQL over a spreadsheet or CSV; each sheet is a table
No parameter schema in public metadata yet.
read_rowsrows by the spreadsheet's own row numbers
rows by the spreadsheet's own row numbers
No parameter schema in public metadata yet.
Configuration
BUCKETLENS_BUCKET*Bucket to read
BUCKETLENS_ACCESS_KEY_ID*secretAccess key that can read the bucket and write under .bucketlens/
BUCKETLENS_SECRET_ACCESS_KEY*secretSecret for that access key
BUCKETLENS_R2_ACCOUNT_IDCloudflare account ID (for R2; sets the endpoint for you)
BUCKETLENS_ENDPOINTS3 endpoint URL (for AWS S3, MinIO or other S3-compatible storage)
BUCKETLENS_REGIONdefault: us-east-1Region (auto for R2)
Readme
bucketlens
Let any AI agent read the documents and spreadsheets in your own S3 or R2 bucket, without downloading them.
Agents work best the way a developer does: look at what's there, search, open just the part that matters. That works on code, because code is plain text on a local disk. A company's knowledge is PDFs, spreadsheets and contracts in a bucket. An agent with a shell downloads and parses them on every run. An agent without one (a chat app, Claude Desktop, a support bot, an MCP-only client) often can't use them at all.
Details
- Repository
- github.com/pritom14/bucketlens
- Categories
- Docs & Knowledge Bases, Data & Analytics
- Package
bucketlens- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active
Similar to bucketlens
More Docs & Knowledge Bases
PDF ReaderMCP serversylphlab1.1K starsConverts PDFs, Office files, web pages, and media to Markdown for AI agents, locally.
Firecrawl MCP ServerMCP serverfirecrawl7.9K starsWeb search, scrape, parse, and crawl access for AI agents via a hosted or local Firecrawl server.
agent-xlsxSkillapetta/agent-xlsx782 installsCommand-line toolkit for reading, writing, formatting, and visually capturing Excel and spreadsheet files as structured JSON.
FactQLMCP serverfactqlPlain-English question access to a database, with answers, the SQL that ran, and the rows.
NubboMCP servernubboSearch, organize, and share files in S3-compatible buckets through an AI assistant.
MCP Toolbox for DatabasesMCP servergoogleapis16.9K starsConnects agents to enterprise databases for schema exploration and SQL execution across many engines.