meilisearch-mcp

meilisearch-mcp

89

The Meilisearch MCP Server is a Model Context Protocol server designed to enable interaction with Meilisearch through interfaces like Claude. It supports management and configuration of indices, document operations, and search functionalities, among other features.

Meilisearch MCP Server

A Model Context Protocol (MCP) server for interacting with Meilisearch through LLM interfaces like Claude.

Features

  • Index and document management
  • Settings configuration and management
  • Task monitoring and API key management
  • Built-in logging and monitoring tools
  • Dynamic connection configuration to switch between Meilisearch instances
  • Smart search across single or multiple indices

Requirements

  • Python ≥ 3.9
  • Running Meilisearch instance

Usage

Dynamic Connection Configuration

  • get-connection-settings: View current connection URL and API key status
  • update-connection-settings: Update URL and/or API key to connect to a different Meilisearch instance

Search Functionality

  • search: Search through Meilisearch indices with optional parameters

Available Tools

Connection Management

  • get-connection-settings: View current URL and API key status
  • update-connection-settings: Update URL and/or API key

Index Management

  • create-index: Create a new index
  • list-indexes: List all indexes

Document Operations

  • get-documents: Retrieve documents with pagination
  • add-documents: Add or update documents

Search

  • search: Perform search with filtering and sorting

Settings Management

  • get-settings: View index settings
  • update-settings: Update index settings

API Key Management

  • get-keys: List API keys
  • create-key: Create new API key

Task Management

  • get-task: Get task information

System Monitoring

  • health-check: Basic health check
  • get-version: Get Meilisearch version

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit changes
  4. Create a pull request

License

MIT