MCP
Anthropic MCP Integration
Guide for integrating Anthropic’s Claude models with PraisonAI agents using MCP
Add Anthropic Tool to AI Agent
Quick Start
1
Set API Key
Set your Anthropic API key as an environment variable in your terminal:
2
Create a file
Create a new file anthropic_airbnb.py
with the following code:
3
Install Dependencies
Make sure you have Node.js installed, as the MCP server requires it:
4
Run the Agent
Execute your script:
Requirements
- Python 3.10 or higher
- Node.js installed on your system
- Anthropic API key
Features
Claude 3.7 Sonnet
Leverage Anthropic’s powerful Claude 3.7 Sonnet model.
MCP Integration
Seamless integration with Model Context Protocol.
Airbnb Search
Search for accommodations on Airbnb with natural language queries.
Environment Variables
Securely pass API keys using environment variables.