MCP server/ai-tools

MCP + CrewAI Agentic Integration MCP Server

MCP integrated with CrewAI orchestrations with observability and high-speed inference

vad-007/MCP_Integration_crewai ↗by vad-007updated
1

Add it to Claude Code

claude mcp add -e "AGENTOPS_API_KEY=${AGENTOPS_API_KEY}" -e "GROQ_API_KEY=${GROQ_API_KEY}" -e "SERPER_API_KEY=${SERPER_API_KEY}" -e "WEATHER_API_KEY=${WEATHER_API_KEY}" crewai-mcp-integration -- uv run main.py
Required:AGENTOPS_API_KEYGROQ_API_KEYSERPER_API_KEYWEATHER_API_KEY
2

Make your agent remember this setup

crewai-mcp-integration's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.

npx conare@latest

Free · one command · indexes the sessions already on disk. Set up in the browser instead →

What it does

  • Real-time weather data retrieval
  • Global news intelligence via Serper
  • Locally persistent note management
  • Intelligent text summarization
  • Full observability and tracing via AgentOps

Tools 4

Weather EngineProvides real-time meteorology data via WeatherAPI.
News IntelligenceRetrieves global news via Serper Google Search API.
Contextual NotesManages locally persistent notes for long-term memory.
Auto-SummaryPerforms intelligent summarization of collected context.

Environment Variables

AGENTOPS_API_KEYrequiredAPI key for AgentOps observability
GROQ_API_KEYrequiredAPI key for Groq LLM inference
SERPER_API_KEYrequiredAPI key for Serper Google Search
WEATHER_API_KEYrequiredAPI key for WeatherAPI

Try it

What is the current weather in Tokyo?
Search for the latest news regarding AI agent frameworks.
Save a note about the current market research findings.
Summarize the recent news articles found about the tech industry.
Original README from vad-007/MCP_Integration_crewai

🤖 MCP + CrewAI Agentic Integration 🚀

A powerful demonstration of Model Context Protocol (MCP) integrated with CrewAI orchestrations, featuring full observability through AgentOps and high-speed inference via Groq.


🌟 Overview

This project bridges the gap between context-aware tools and autonomous agents. It provides a custom MCP server for real-time external data (Weather, News, Notes) while leveraging CrewAI to orchestrate multi-agent workflows.

🏗️ Architecture

  • MCP Layer: A FastMCP server exposing tools for real-time data retrieval.
  • Agentic Layer: CrewAI agents specialized in Market Analysis and Research.
  • Inference Layer: Ultra-fast LLMs (Llama 3.1) hosted on Groq.
  • Observability Layer: AgentOps for tracing, cost management, and debugging.

✨ Key Features

🛠️ Custom MCP Server Tools

  • ☀️ Weather Engine: Real-time meteorology data via WeatherAPI.
  • 📰 News Intelligence: Global news retrieval via Serper (Google Search API).
  • 📝 Contextual Notes: Locally persistent note management for long-term memory.
  • � Auto-Summary: Intelligent summarization of collected context.

👥 Intelligence Crew

  • 🔍 Market Researcher: Scours data to identify emerging trends.
  • 📈 Data Analyst: Synthesizes research into actionable market insights.
  • 🚀 Sequential Workflow: Fully orchestrated execution path for reliable results.

🛠️ Tech Stack


🚀 Getting Started

1. Prerequisites

Ensure you have the following installed:

  • uv (Recommended) or Python 3.13+
  • A valid Groq API Key
  • A valid AgentOps API Key
  • A Serper API Key (for News)

2. Installation

Clone the repository and sync dependencies:

git clone https://github.com/vad-007/MCP_Integration_crewai.git
cd MCP_Integration_crewai
uv sync

3. Configuration

Create a .env file in the root directory:

AGENTOPS_API_KEY=your_agentops_key
GROQ_API_KEY=your_groq_key
SERPER_API_KEY=your_serper_key
WEATHER_API_KEY=your_weather_key

4. Running the Project

🌐 Start the MCP Server
mcp dev main.py
🚢 Run the CrewAI Integration
python crewai_agentops_integration.py
🔍 Run Diagnostics
python test_agentops.py

📊 Observability with AgentOps

This project is fully instrumented. Every run generates a unique replay URL allowed you to:

  • Watch Agent Self-Correction: See exactly how agents reason through tasks.
  • Trace LLM Calls: Monitor every prompt and completion.
  • Analyze Latency: Visualize the execution timeline of your crew.

Check your dashboard at: app.agentops.ai


📂 Project Structure

├── main.py                    # FastMCP Server implementation
├── crewai_agentops_integration.py # Main CrewAI orchestration
├── test_agentops.py           # Connectivity & Diagnostic tool
├── .env                       # Environment variables (private)
├── pyproject.toml             # Project configuration
├── uv.lock                    # Dependency lockfile
└── docs/                      # Troubleshooting & Optimization guides

🤝 Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

🛡️ License

Distributed under the MIT License. See LICENSE for more information.


Developed with ❤️ for the AI Community.

Frequently Asked Questions

What are the key features of MCP + CrewAI Agentic Integration?

Real-time weather data retrieval. Global news intelligence via Serper. Locally persistent note management. Intelligent text summarization. Full observability and tracing via AgentOps.

What can I use MCP + CrewAI Agentic Integration for?

Orchestrating multi-agent market research workflows. Monitoring agent reasoning and latency during complex tasks. Maintaining long-term memory for autonomous research agents. Synthesizing real-time external data into actionable market insights.

How do I install MCP + CrewAI Agentic Integration?

Install MCP + CrewAI Agentic Integration by running: git clone https://github.com/vad-007/MCP_Integration_crewai.git && cd MCP_Integration_crewai && uv sync

What MCP clients work with MCP + CrewAI Agentic Integration?

MCP + CrewAI Agentic Integration works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Conare · memory for coding agents

Turn this server into reusable context

Keep MCP + CrewAI Agentic Integration docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Set up free$npx conare@latest