Back to Browse

Meilisearch MCP Server

Developer ToolsModerate6.8MCP RegistryLocal
Free

Server data from the Official MCP Registry

Search indexes, manage documents, check health and stats.

About

Search indexes, manage documents, check health and stats.

Security Report

6.8
Moderate6.8Moderate Risk

This MCP server for MeiliSearch is well-structured with proper authentication handling and appropriate input validation. The server correctly reads credentials from environment variables, uses proper URL encoding to prevent injection attacks, and implements comprehensive error handling. Permissions are well-aligned with the server's stated purpose of managing MeiliSearch instances. Minor code quality issues around broad exception handling do not significantly impact security. Supply chain analysis found 1 known vulnerability in dependencies (0 critical, 1 high severity). Package verification found 1 issue.

6 files analyzed · 5 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

env_vars

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

What You'll Need

Set these up before or after installing:

MeiliSearch server URL (default: http://localhost:7575)Optional

Environment variable: MEILISEARCH_URL

MeiliSearch API key for authenticationRequired

Environment variable: MEILISEARCH_API_KEY

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-mrfentmen-meilisearch-mcp": {
      "env": {
        "MEILISEARCH_URL": "your-meilisearch-url-here",
        "MEILISEARCH_API_KEY": "your-meilisearch-api-key-here"
      },
      "args": [
        "-y",
        "meilisearch-mcp"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

MeiliSearch MCP

An MCP server for MeiliSearch, the fast and typo-tolerant search engine.

What it does

Search through MeiliSearch indexes, manage documents, create/delete indexes, check health and stats, and manage API keys. Perfect for AI agents that need to search through your data.

Tools

  • check_health - Check if the MeiliSearch server is running
  • list_indexes - List all indexes
  • get_index - Get index details
  • create_index - Create a new index
  • delete_index - Delete an index
  • search_index - Search documents in an index
  • get_documents - List documents in an index
  • get_document - Get a single document by ID
  • add_documents - Add documents to an index
  • delete_document - Delete a document by ID
  • get_stats - Get instance statistics
  • get_index_stats - Get index-specific statistics
  • get_task - Check async task status
  • list_keys - List API keys
  • update_settings - Update index settings (ranking rules, searchable attributes, filters, etc.)

Install

npx meilisearch-mcp

Environment Variables

  • MEILISEARCH_URL - MeiliSearch server URL (default: http://localhost:7575)
  • MEILISEARCH_API_KEY - API key for authentication (if your instance requires it)

Claude Desktop setup

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "meilisearch": {
      "command": "npx",
      "args": ["-y", "meilisearch-mcp"],
      "env": {
        "MEILISEARCH_URL": "http://localhost:7575",
        "MEILISEARCH_API_KEY": "your-api-key"
      }
    }
  }
}

Example usage

Ask Claude:

  • "Search my products index for 'wireless headphones'"
  • "Show me all indexes in my MeiliSearch instance"
  • "Add these documents to my blog-posts index"
  • "How many documents are in my main index?"
  • "Update my index settings to use title as searchable attribute"

Requirements

  • A running MeiliSearch instance (v1.0+)
  • Optional: API key if your instance has authentication enabled

License

MIT

Reviews

No reviews yet

Be the first to review this server!