Ambee MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Ambee MCP or direct API to fetch air quality, access real-time weather, analyze pollen counts, and monitor environmental trends through natural language.

Ambee logoAmbee
Api Key

Ambee is an environmental data platform providing real-time, hyperlocal APIs for air quality, weather, and pollen. Get precise environmental insights to power smarter decisions in your apps and workflows.

27 Tools

Try Ambee now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Ambee
Try asking
TOOLS

Supported Tools

Every Ambee action and event your agent gets out of the box.

Geocode by Place

Tool to transform a place name or address into geographic coordinates.

Get Air Quality by City

Tool to retrieve real-time air quality data for a specific city.

Get Air Quality by Country Code

Tool to retrieve real-time air quality data for a specific country using a 3-letter ISO code.

Get Air Quality by Latitude and Longitude

Tool to retrieve real-time air quality data for a specific latitude and longitude.

Get Air Quality by Postal Code

Retrieve real-time air quality data for a specific postal code and country.

Get Air Quality Forecast by Latitude and Longitude

Tool to retrieve air quality forecast for a specific latitude and longitude.

Get Air Quality History by Latitude and Longitude

Tool to retrieve historical air quality data for a specific latitude and longitude.

Retrieve latest natural disasters by continent

Tool to retrieve latest natural disaster data for a specific continent.

Get historical natural disasters by date range

Tool to retrieve global historical natural disaster data with date range filtering.

Get historical natural disasters by country code

Tool to retrieve historical natural disaster data for a country by ISO country code.

Get historical natural disasters by coordinates

Tool to retrieve historical natural disaster data for a specific location by coordinates with date range.

Get latest disasters by country code

Tool to retrieve latest natural disaster data for a specific country using ISO country code.

Get latest natural disasters by coordinates

Tool to retrieve latest natural disaster data (earthquakes, floods, droughts, volcanic eruptions) for a specific location using geographic coordinates.

Get Elevation by Latitude and Longitude

Tool to retrieve elevation statistics (min, max, mean) for a specific latitude and longitude.

Get Elevation by Place

Retrieve elevation statistics (minimum, maximum, and mean) for a location by place name.

Get Fire Risk by Latitude and Longitude

Tool to retrieve fire risk forecast and Fire Weather Index (FWI) data for specific geographic coordinates.

Get ILI Forecast by Latitude and Longitude

Tool to retrieve up to 28-day forecast of Influenza-like Illness (ILI) risk using latitude and longitude.

Get Pollen Forecast by Place

Tool to retrieve 48-hour pollen forecast for a specific location by place name.

Get Pollen History by Place

Tool to retrieve historical pollen data for a specific place name.

Get Latest Pollen Data by Latitude and Longitude

Tool to retrieve latest pollen data for a specific geographic location using latitude and longitude coordinates.

Get Latest Pollen by Place

Tool to retrieve latest pollen data for a specific place by name.

Get Weather Forecast by Latitude and Longitude

Tool to retrieve weather forecast for a specific latitude and longitude (up to 72 hours).

Get Current Weather by Latitude and Longitude

Tool to retrieve current weather data for a specific latitude and longitude, including temperature, pressure, humidity, and wind conditions.

Get Wildfire Data by Latitude and Longitude

Retrieves real-time wildfire data for a specific geographic location using latitude and longitude coordinates.

Get Wildfire Data by Place

Retrieves real-time wildfire data for a specific location by place name.

Get Wildfire Risk Forecast by Place

Tool to retrieve wildfire risk forecast for a specific place.

Reverse Geocode by Latitude and Longitude

Tool to convert geographic coordinates into human-readable location data (address, place name, postal code).

SETUP GUIDE

Connect Ambee MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK and Claude Agent SDK
2

Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });

console.log("Creating Tool Router session...");
const { mcp } = await composio.create('your-user-id');
console.log(`Tool Router session created: ${mcp.url}`);
Initialize the Composio client and create a Tool Router session
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText, stepCountIs } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: mcp.url,
    headers: { 'x-api-key': 'your-composio-api-key' }
  }
});

const tools = await client.tools();

const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{ role: 'user', content: 'Get air quality by city for Los Angeles' }],
  stopWhen: stepCountIs( 5 )
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent
SETUP GUIDE

Connect Ambee API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute Ambee Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Get real-time air quality for Berlin today.'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Ambee actions with your Agent

Why Use Composio?

AI Native Ambee Integration

  • Supports both Ambee MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Ambee data

Managed Auth

  • Built-in API Key management for Ambee
  • Central place to manage, scope, and revoke Ambee access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Ambee
  • Scoped, least privilege access to Ambee resources
  • Full audit trail of agent actions to support review and compliance
FAQ

Frequently asked questions

Yes, Ambee requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with Ambee.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Ambee tool your agent needs.Free to start.

Start building