expand.ai MCP Server
Give AI agents access to the web. This MCP server lets AI assistants fetch and process content from any URL using the expand.ai API.
Features
fetch - Retrieve cleaned, AI-ready content from any URL
- Handles JavaScript-heavy sites automatically
- Bypasses bot protection and anti-scraping measures
- Returns markdown-formatted content
Installation
npx (recommended)
npx -y @expandai/mcp@latest
Docker
docker run --rm -i -e EXPAND_API_KEY=your_key expandai/mcp
npm (global)
npm install -g @expandai/mcp
expandai-mcp
Configuration
Environment Variables
EXPAND_API_KEY | Yes | Your expand.ai API key |
EXPAND_BASE_URL | No | API base URL (default: https://api.expand.ai) |
EXPAND_ENABLE_DOCS | No | Enable documentation resources (default: false) |
Integration
expandai mcp install
Follow the prompts to configure.
Developer Mode
Enable documentation resources for developers building with expand.ai:
EXPAND_API_KEY=xxx EXPAND_ENABLE_DOCS=true expandai-mcp
Links
License
Apache-2.0