E2B Cookbook
Examples of using E2B. Contribute to lawrenciumLr103/e2b-cookbook development by creating an account on GitHub.
lawrenciumLr103
README
✴️ E2B Cookbook
Example code and guides for building with E2B SDK.
Read more about E2B on the E2B website and the official E2B documentation.
Examples
Open-source apps
- E2B AI Analyst - analyze your data & create interactive charts
- E2B Fragments - prompt different LLMS to generate apps with UI
Hello World guide
Example use cases
- Anthropic's Artifacts UI with AI Code Execution - JavaScript/TypeScript
- Upload dataset and analyze it with Llama 3 - Python
- Scrape Airbnb and analyze data with Claude 3 Opus and Firecrawl - JavaScript/TypeScript
- Visualize website topics with Claude 3.5 Sonnet and Firecrawl - Python
LLM providers
- 🦙 Meta
- Llama 3.1 405B, 70B or 8B with code interpreter & Together AI
- Llama 3.1 405B, 70B or 8B with code interpreter & Fireworks
- Llama 3 with code interpreter
- OpenAI
- o1 with data analysis and visualization of a csv file
- GPT-4o with code interpreter and reasoning on image data
- o1 and GPT-4 with code interpreter performing machine learning on dataset
- Anthropic
- Claude 3 Opus with code interpreter
- Anthropic's Artifacts UI with AI Code Execution - JavaScript/TypeScript
- Anthropic models with Firecrawl
- Visualize website topics - Python
- Scrape Airbnb and analyze data - JavaScript/TypeScript
- Mistral
- Codestral with code interpreter
- Groq
- Llama 3 hosted on Groq + function calling + E2B Code interpreter
- Fireworks AI
- Together AI
- Code interpreter usable with Meta Llama 3.1 Instruct Turbo (8B or 70B or 405B), Qwen 2 Instruct (72B), Code Llama Instruct (70B), or DeepSeek Coder Instruct (33B)
AI frameworks integrations
-
🦜⛓️ LangChain
- LangChain with Code Interpreter - Python
-
🦜🕸️ LangGraph
- LangGraph with code interpreter - Python
-
Autogen
- Autogen with secure sandboxed for code interpreting - Python
-
▲ Vercel AI SDK
- Vercel AI SDK's Next.js + AI SDK + Code Interpreter - JavaScript/TypeScript
- Anthropic's Artifacts UI with Vercel AI SDK - JavaScript/TypeScript
Recommended Servers

E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Exa MCP
A Model Context Protocol server that enables AI assistants like Claude to perform real-time web searches using the Exa AI Search API in a safe and controlled manner.
Web Research Server
A Model Context Protocol server that enables Claude to perform web research by integrating Google search, extracting webpage content, and capturing screenshots.
Perplexity Chat MCP Server
MCP Server for the Perplexity API.
PubMedSearch
A Model Content Protocol server that provides tools to search and retrieve academic papers from PubMed database.
Aindreyway Codex Keeper
Serves as a guardian of development knowledge, providing AI assistants with curated access to latest documentation and best practices.
Perplexity Deep Research
A server that allows AI assistants to perform web searches using Perplexity's sonar-deep-research model with citation support.

Docx Document Processing Service
A powerful Word document processing service based on FastMCP, enabling AI assistants to create, edit, and manage docx files with full formatting support. Preserves original styles when editing content.
Web Research Server
MCP web research server (give Claude real-time info from the web) - oneshot-engineering/mcp-webresearch