Deploy MCP Server
Database API Key

Weaviate REST API

Open-source vector database for AI-native applications

Weaviate is an open-source vector database that enables semantic search and AI-powered applications through vector embeddings. Developers use it to build intelligent search engines, recommendation systems, and RAG (Retrieval Augmented Generation) applications with native support for multiple vectorization modules and hybrid search capabilities.

Base URL http://localhost:8080/v1

API Endpoints

MethodEndpointDescription
GET/schemaRetrieve the current database schema including all classes and their properties
POST/schemaCreate a new class (collection) in the database with defined properties and vectorizer settings
DELETE/schema/{className}Delete a specific class and all its objects from the database
POST/objectsCreate a new object in a specified class with properties and optional vector
GET/objects/{className}/{id}Retrieve a specific object by its UUID and class name
PATCH/objects/{className}/{id}Update properties of an existing object
DELETE/objects/{className}/{id}Delete a specific object from the database
POST/graphqlExecute GraphQL queries for vector search, hybrid search, and data retrieval
POST/batch/objectsImport multiple objects in a single batch operation for efficient data loading
GET/metaGet metadata about the Weaviate instance including version and module information
GET/nodesRetrieve information about cluster nodes in a distributed setup
POST/classificationsStart a classification job using kNN or contextual classification
GET/classifications/{id}Check the status of a running or completed classification job
POST/objects/{className}/{id}/references/{propertyName}Add a cross-reference between objects in different classes
GET/.well-known/readyHealth check endpoint to verify if Weaviate is ready to accept requests

Code Examples

# Create a new class (collection)
curl -X POST http://localhost:8080/v1/schema \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{
    "class": "Article",
    "vectorizer": "text2vec-openai",
    "properties": [
      {
        "name": "title",
        "dataType": ["text"]
      },
      {
        "name": "content",
        "dataType": ["text"]
      }
    ]
  }'

# Vector search using GraphQL
curl -X POST http://localhost:8080/v1/graphql \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{
    "query": "{ Get { Article(nearText: {concepts: [\"machine learning\"]}, limit: 5) { title content _additional { certainty distance } } } }"
  }'

Connect Weaviate to AI

Deploy a Weaviate MCP server on IOX Cloud and connect it to Claude, ChatGPT, Cursor, or any AI client. Your AI assistant gets direct access to Weaviate through these tools:

weaviate_semantic_search Perform semantic vector search across Weaviate collections using natural language queries, returning contextually relevant results with similarity scores
weaviate_create_collection Create and configure new Weaviate collections with custom schema definitions, vectorizer modules, and indexing settings
weaviate_batch_import Import large datasets into Weaviate collections efficiently using batch operations with automatic vectorization
weaviate_hybrid_search Execute hybrid searches combining vector similarity with keyword-based BM25 ranking for optimal retrieval accuracy
weaviate_manage_schema View, update, and manage Weaviate database schemas including classes, properties, and cross-references between collections

Deploy in 60 seconds

Describe what you need, AI generates the code, and IOX deploys it globally.

Deploy Weaviate MCP Server →

Related APIs