Plugs Claude directly into your Dropbox account with read-only access to search, browse, and extract content from your files. You get five tools: list files in any folder, search by filename with optional type filters, read full file content with text extraction from PDFs and DOCX, grab file metadata, and search for specific text within files with surrounding context. Handles common formats including PDF, Word docs, and plain text files using PyPDF2 and python-docx for extraction. Requires a Dropbox access token with files.metadata.read and files.content.read permissions. Reach for this when you need Claude to reference, analyze, or pull information from documents already sitting in your Dropbox without manual copy-pasting.
A Model Context Protocol (MCP) server that provides read access to Dropbox files with advanced search and content extraction capabilities.
files.metadata.readfiles.content.readpip install -e .
Or install manually:
pip install mcp dropbox pydantic PyPDF2 python-docx
Set your Dropbox access token as an environment variable:
export DROPBOX_ACCESS_TOKEN="your_access_token_here"
Add to your claude_desktop_config.json:
{
"mcpServers": {
"dropbox": {
"command": "python",
"args": ["/path/to/your/dropbox_server.py"],
"env": {
"DROPBOX_ACCESS_TOKEN": "your_access_token_here"
}
}
}
}
The server will automatically use the DROPBOX_ACCESS_TOKEN environment variable when deployed.
list_filesList files and folders in a Dropbox directory.
Parameters:
folder_path (optional): Path to folder (empty for root)max_files (optional): Maximum items to return (default: 20)search_filesSearch for files by name.
Parameters:
query: Search queryfile_types (optional): File types to search ("all", "pdf", "docx", "txt", or comma-separated)max_results (optional): Maximum results (default: 10)read_fileRead the full content of a file.
Parameters:
file_path: Full path to the filemax_length (optional): Maximum characters to return (default: 5000, 0 for unlimited)get_file_infoGet detailed metadata about a file.
Parameters:
file_path: Full path to the filesearch_file_contentSearch for text within specific files.
Parameters:
file_paths: List of file paths to searchquery: Text to search forcontext_chars (optional): Characters of context around matches (default: 100)list_files()
search_files(query="invoice", file_types="pdf", max_results=5)
read_file(file_path="/documents/report.pdf")
search_file_content(
file_paths=["/documents/file1.txt", "/documents/file2.pdf"],
query="important keyword"
)
python dropbox_server.py
Make sure your DROPBOX_ACCESS_TOKEN is set, then run the server and test with an MCP client.
MIT License - feel free to use and modify as needed.
Contributions are welcome! Please feel free to submit a Pull Request.
For issues and questions, please open an issue on GitHub.
csoai-org/pdf-document-mcp
xt765/mcp-document-converter
io.github.xjtlumedia/markdown-formatter
io.github.ai-aviate/better-notion
suekou/mcp-notion-server
meterlong/mcp-doc