Working, tested code examples for using Presend's free API and MCP server -- no signup, no API key required for any of these.
Each example connects to Presend's live MCP server (https://presend.pages.dev/mcp) or REST API (https://presend.pages.dev/api) and runs a real whois_lookup call on github.com.
| Framework | Folder | Install |
|---|---|---|
| LangChain | langchain/ |
pip install -r langchain/requirements.txt |
| CrewAI | crewai/ |
pip install -r crewai/requirements.txt |
| LlamaIndex | llamaindex/ |
pip install -r llamaindex/requirements.txt |
| OpenAI Agents SDK | openai-agents/ |
pip install -r openai-agents/requirements.txt |
| Google ADK | google-adk/ |
pip install -r google-adk/requirements.txt |
| Plain REST (no MCP) | rest-api/ |
none, stdlib only |
Run any example with:
cd <framework-folder>
pip install -r requirements.txt
python example.pyA free 40-endpoint security/utility API and an MCP server, plus 48 free browser-based file tools. No signup, no API key.
- API docs: https://presend.pages.dev/api
- OpenAPI spec: https://presend.pages.dev/openapi.json
- MCP server: https://presend.pages.dev/mcp
- Main repo: https://github.com/presendapp/presend
The endpoint used in every example here, maintainer-change-check, flags an npm package whose publisher changed after a long period of dormancy -- the pattern behind real supply-chain attacks like event-stream, ua-parser-js, and colors.js.
MIT