# How to integrate Weaviate MCP with Atomic Agent

```json
{
  "title": "How to integrate Weaviate MCP with Atomic Agent",
  "toolkit": "Weaviate MCP",
  "toolkit_slug": "weaviate_mcp",
  "framework": "Atomic Agent",
  "framework_slug": "atomic-agent",
  "url": "https://composio.dev/toolkits/weaviate_mcp/framework/atomic-agent",
  "markdown_url": "https://composio.dev/toolkits/weaviate_mcp/framework/atomic-agent.md",
  "updated_at": "2026-10-21T05:34:00.503Z"
}
```

## Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,700+ apps through Composio, including Weaviate.
This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Weaviate account. See the [Atomic Agent documentation](https://atomicagent.io/docs/?cta_placement=atomic-agent-docs) for installation instructions.

## Also integrate Weaviate MCP with

- [ChatGPT](https://composio.dev/toolkits/weaviate_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/weaviate_mcp/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/weaviate_mcp/framework/hermes-agent)

## TL;DR

### How Atomic Agent connects to Weaviate
Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.
Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

## Connect Weaviate MCP to Atomic Agent

### Connect Weaviate to Atomic Agent
- Sign up or sign in to the [Composio dashboard](https://dashboard.composio.dev/?cta_placement=atomic-agent-api-key). Copy your API key.
- In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
- Ask Atomic Agent to do something in Weaviate. It searches Composio for the right tool.
- On first use, open the sign-in link returned in the chat. Connect your Weaviate account, then return to Atomic Agent to continue.
### Headless setup
Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

```bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY
```

## What is the Weaviate MCP server, and what's possible with it?

The Weaviate MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Weaviate account. It provides structured and secure access to your Weaviate Cloud collections, so your agent can answer natural-language questions, run AI-powered searches, apply structured filters, perform aggregations, and return matching data on your behalf.
- Natural-language questions: Have your agent ask questions about your Weaviate collections and turn them into searches or aggregations before providing a final answer.
- Semantic collection search: Let the agent find relevant collection data using AI-powered semantic search rather than relying only on exact keyword matches.
- Structured filtering: Direct your agent to combine semantic search with structured filters to narrow results to the data that matches your criteria.
- Data aggregation: Instruct your agent to generate aggregations from your collection data when answering questions that require grouped or calculated results.
- Matching result retrieval: Have your agent return the Weaviate objects that match a search, so you can work directly with the relevant collection data.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `WEAVIATE_MCP_QUERY_AGENT_ASK` | Query agent ask | Ask Mode transforms your query into actionable searches or aggregations, and then provides a final answer to the question. For example, you could ask: "How many orders related to books were placed last week?" And the agent will filter for orders, perform semantic search for books and sort or filter for timestamps from the last week. Then, the agent will provide a response, answering this question exactly based on the data retrieved. The result always carries final_answer. When result_evaluation is 'llm', it additionally carries is_partial_answer (whether information the query asked for is missing from the answer), missing_information (what exactly could not be found in the data), and sources (the retrieved objects the answer actually drew on). Queries the collections named in the request within your connected Weaviate Cloud cluster. Use collection names from your own cluster; access follows the connected API key permissions. |
| `WEAVIATE_MCP_QUERY_AGENT_SEARCH` | Query agent search | Search Mode combines AI-powered semantic search with structured filtering and returns the matching Weaviate objects directly. For example, you could ask: "Find me some vintage shoes under $70" And the agent will perform semantic search for vintage shoes, apply a filter for price < 70, and return the matching objects from your collections, ready for you to render or post-process. You could also ask: "Something comfortable to wear on a long flight" And the agent will use AI-powered search to find relevant objects, even when terms like comfortable or long flight never appear in your data. Under the hood, Search Mode does more than embed your query as-is. The agent writes one or more optimized semantic and structured queries, executes them against your collections, and reranks the retrieved objects by how well each one matches your original request. The result's `results` field lists the matching objects in rank order (best match first), each as a dict of property names to values. Queries the collections named in the request within your connected Weaviate Cloud cluster. Use collection names from your own cluster; access follows the connected API key permissions. |

## Supported Triggers

None listed.

## Troubleshooting

### Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

### Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

### Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See [Composio pricing](/pricing/platform) for the current limits that apply to your connection.

## Complete Code

None listed.

## Conclusion

### Use Weaviate from Atomic Agent
With your account connected, ask Atomic Agent to work with Weaviate in natural language. You can connect more apps through the same Composio integration as you need them.
Visit the [Atomic Agent website](https://atomicagent.io/?cta_placement=atomic-agent-site) or inspect the [Atomic Agent source code](https://github.com/AtomicBot-ai/atomic-agent?cta_placement=atomic-agent-repo).

## How to build Weaviate MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/weaviate_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/weaviate_mcp/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/weaviate_mcp/framework/hermes-agent)

## Related Toolkits

- [Composio](https://composio.dev/toolkits/composio) - Composio is an integration platform that connects AI agents with hundreds of business tools. It streamlines authentication and lets you trigger actions across services—no custom code needed.
- [Firecrawl](https://composio.dev/toolkits/firecrawl) - Firecrawl automates large-scale web crawling and data extraction. It helps organizations efficiently gather, index, and analyze content from online sources.
- [Composio search](https://composio.dev/toolkits/composio_search) - Composio search is a unified web search toolkit spanning travel, e-commerce, news, financial markets, images, and more. It lets you and your apps tap into up-to-date web data from a single, easy-to-integrate service.
- [Tavily](https://composio.dev/toolkits/tavily) - Tavily offers powerful search and data retrieval from documents, databases, and the web. It helps teams locate and filter information instantly, saving hours on research.
- [Exa](https://composio.dev/toolkits/exa) - Exa is a data extraction and search platform for gathering and analyzing information from websites, APIs, or databases. It helps teams quickly surface insights and automate data-driven workflows.
- [Serpapi](https://composio.dev/toolkits/serpapi) - SerpApi is a real-time API for structured search engine results. It lets you automate SERP data collection, parsing, and analysis for SEO and research.
- [Excel](https://composio.dev/toolkits/excel) - Microsoft Excel is a robust spreadsheet application for organizing, analyzing, and visualizing data. It's the go-to tool for calculations, reporting, and flexible data management.
- [Perplexityai](https://composio.dev/toolkits/perplexityai) - Perplexityai delivers natural, conversational AI models for generating human-like text. Instantly get context-aware, high-quality responses for chat, search, or complex workflows.
- [Peopledatalabs](https://composio.dev/toolkits/peopledatalabs) - Peopledatalabs delivers B2B data enrichment and identity resolution APIs. Supercharge your apps with accurate, up-to-date business and contact data.
- [Snowflake](https://composio.dev/toolkits/snowflake) - Snowflake is a cloud data warehouse built for elastic scaling, secure data sharing, and fast SQL analytics across major clouds.
- [Browser tool](https://composio.dev/toolkits/browser_tool) - Browser tool is a virtual browser integration that lets AI agents interact with the web programmatically. It enables automated browsing, scraping, and action-taking from any AI workflow.
- [Posthog](https://composio.dev/toolkits/posthog) - PostHog is an open-source analytics platform for tracking user interactions and product metrics. It helps teams refine features, analyze funnels, and reduce churn with actionable insights.
- [21risk](https://composio.dev/toolkits/_21risk) - 21RISK is a web app built for easy checklist, audit, and compliance management. It streamlines risk processes so teams can focus on what matters.
- [Abstract](https://composio.dev/toolkits/abstract) - Abstract provides a suite of APIs for automating data validation and enrichment tasks. It helps developers streamline workflows and ensure data quality with minimal effort.
- [AccuWeather](https://composio.dev/toolkits/accu_weather) - AccuWeather is a global weather service providing current conditions, forecasts, MinuteCast precipitation, alerts, and lightning data. Use it for fast, localized forecasts and real-time weather alerts.
- [Adafruit IO](https://composio.dev/toolkits/adafruit_io) - Adafruit IO is Adafruit's cloud platform for connected device and IoT project data. It helps you store, visualize, and act on sensor feeds without running your own backend.
- [Addressfinder](https://composio.dev/toolkits/addressfinder) - Addressfinder is a data quality platform for verifying addresses, emails, and phone numbers. It helps you ensure accurate customer and contact data every time.
- [Agentql](https://composio.dev/toolkits/agentql) - Agentql is a toolkit that connects AI agents to the web using a specialized query language. It enables structured web interaction and data extraction for smarter automations.
- [Agenty](https://composio.dev/toolkits/agenty) - Agenty is a web scraping and automation platform for extracting data and automating browser tasks—no coding needed. It streamlines data collection, monitoring, and repetitive online actions.
- [Ahrefs MCP](https://composio.dev/toolkits/ahrefs_mcp) - Ahrefs MCP is Ahrefs' hosted MCP server for SEO data and insights. Use it to access backlinks, organic metrics, keyword research, and competitor analysis.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Weaviate MCP?

With a standalone Weaviate MCP server, the agents and LLMs can only access a fixed set of Weaviate tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Weaviate and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Atomic Agent?

Yes, you can. Atomic Agent fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Weaviate tools.

### Can I manage the permissions and scopes for Weaviate while using Tool Router?

Yes, absolutely. You can configure which Weaviate scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Weaviate data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
