Moorcheh MCP Server
Enables interaction with Moorcheh AI services including namespace management, document embedding, vector search, and AI-powered answers through the Model Context Protocol.
README
<div align="left"> <picture> <source media="(prefers-color-scheme: dark)" srcset="assets/moorcheh-logo-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="assets/moorcheh-logo-light.svg"> <img width="250px" alt="Moorcheh Logo" src="assets/moorcheh-logo-light.svg"> </picture> <br /> <h1>Moorcheh MCP Server</h1> <p>A Model Context Protocol (MCP) server that provides seamless integration with Moorcheh's Embedding, Vector Store, Search, and Gen AI Answer services. This server enables you to interact with Moorcheh's comprehensive AI capabilities including document embedding, vector storage, semantic search, and AI-powered answer generation through the Model Context Protocol.</p> </div>
Quick Start Guide
There are two ways to use the Moorcheh MCP server:
Option 1: NPX (Recommended - No Installation Required)
The easiest way to get started:
# Set your API key and run directly
MOORCHEH_API_KEY=your_api_key_here npx -y @moorchehai/mcp
Option 2: Manual Installation
If you prefer to clone and run locally:
-
Clone the repository
git clone https://github.com/moorcheh-ai/moorcheh-mcp.git cd moorcheh-mcp -
Install dependencies
npm install
Step 2: Configure Your API Key
-
Get your Moorcheh API key
- Visit Moorcheh Dashboard
- Sign in to your account
- Go to your account settings
- Generate or copy your API key
-
Set up your environment
# Copy the example environment file cp env.example .env -
Edit the .env file
# Open .env in your preferred editor # Replace 'your_moorcheh_api_key_here' with your actual API key MOORCHEH_API_KEY=your_actual_api_key_here
Step 3: Start the Server
npm start
That's it! Your Moorcheh MCP server is now running and ready to use.
Setting Up with Claude Desktop
To use the Moorcheh MCP server with Claude Desktop:
https://github.com/user-attachments/assets/fccbba8e-7393-4b74-8a73-769b55b3f3a3
Step 1: Install Claude Desktop
- Download Claude Desktop from https://claude.ai/download
- Install and launch Claude Desktop
Step 2: Configure MCP Server
Option A: Using NPX (Recommended)
- In Claude Desktop, go to Settings → Developer
- Click Edit Config
- Configure the server with these settings:
{ "mcpServers": { "moorcheh": { "command": "npx", "args": ["-y", "@moorchehai/mcp"], "env": { "MOORCHEH_API_KEY": "your_actual_api_key_here" } } } }
Option B: Local Installation
-
In Claude Desktop, go to Settings → Developer
-
Click Edit Config
-
Configure the server with these settings:
{ "mcpServers":{ "moorcheh": { "command": "node", "args": [ "path\\to\\moorcheh-mcp\\src\\server\\index.js" ], "env": { "NODE_ENV": "development" } } } } -
Important:
- For Option A: Replace
your_actual_api_key_herewith your actual Moorcheh API key - For Option B: Replace
path\\to\\moorcheh-mcp\\src\\server\\index.jswith the actual path to yourindex.jsfile and create .env in moorcheh-mcp with your API key
- For Option A: Replace
-
Save the configuration file and restart Claude Desktop completely
Step 3: Test the Connection
- Start a new conversation in Claude Desktop
- Ask Claude to list the available tools: "Can you list down my namespaces?"
- You should see tools like
list-namespaces,search,answer, etc.
Setting Up with Cursor
To use the Moorcheh MCP server with Cursor IDE:
Step 1: Install Cursor
- Download Cursor from https://cursor.com
- Install and launch Cursor
Step 2: Configure MCP Server
Option A: Using NPX (Recommended)
- In Cursor, go to Settings → Tools & integration
- Click Add MCP Server
- Configure the server with these settings:
{
"mcpServers": {
"moorcheh": {
"command": "npx",
"args": ["-y", "@moorchehai/mcp"],
"env": {
"MOORCHEH_API_KEY": "your_actual_api_key_here"
}
}
}
}
Option B: Local Installation
- In Cursor, go to Settings → Tools & integration
- Click Add MCP Server
- Configure the server with these settings:
{
"mcpServers":{
"moorcheh": {
"command": "node",
"args": [
"path\\to\\moorcheh-mcp\\src\\server\\index.js"
],
"env": {
"NODE_ENV": "development"
}
}
}
}
Step 3: Set Your API Key
- For Option A: Replace
your_actual_api_key_herewith your actual Moorcheh API key in the configuration - For Option B: Create .env in moorcheh-mcp directory and add your API key with
MOORCHEH_API_KEY=your_key_here
Step 4: Test the Connection
- Open a new chat in Cursor (Cmd/Ctrl + L)
- Ask the AI to list available Moorcheh tools: "What Moorcheh tools can I use?"
- You should see tools like
list-namespaces,search,answer, etc.
What This Server Does
The Moorcheh MCP server provides tools for:
- Namespace Management: Create, list, and delete namespaces for organizing your data
- Document Operations: Upload and manage text documents and vector embeddings
- Advanced Search: Perform semantic search across your data
- AI-Powered Answers: Get intelligent responses based on your stored data
Available Tools
Namespace Tools
list-namespaces: View all your available namespacescreate-namespace: Create a new namespace for storing datadelete-namespace: Remove a namespace and all its contents
Data Tools
upload-text: Upload text documents to a namespaceupload-vectors: Upload vector embeddings to a namespaceupload-file: Upload files to a text namespace via pre-signed URL (supported types: .pdf, .docx, .xlsx, .json, .txt, .csv, .md)list-files: List raw file objects in S3 storage for a namespace (GET /list-files; see List Files)delete-file: Delete one or more raw files from S3 storage (DELETE /delete-filewithfile_nameand/orfile_names; see Delete File)fetch-text-data: List text and summary chunks from a text namespace (GET/documents/fetch-text-data, up to 100 items per response; see Fetch Text Data)get-data: Retrieve text documents by ID from text namespacesdelete-data: Remove specific data items from a namespace
Search & AI Tools
search: Search across namespaces with vector similarityanswer: Get AI-generated answers based on top of your search
Supported AI models
These IDs match the current Moorcheh Available Models list (REST answer / Python answer.generate).
| Model ID | Name | Provider | Description |
|---|---|---|---|
anthropic.claude-sonnet-4-6 |
Claude Sonnet 4.6 | Anthropic | Fast flagship: coding, tools, long docs and RAG (~1M context) |
anthropic.claude-opus-4-6-v1 |
Claude Opus 4.6 | Anthropic | Deepest reasoning and hardest tasks; pick when quality matters most (~1M context) |
meta.llama4-maverick-17b-instruct-v1:0 |
Llama 4 Maverick 17B | Meta | Long context, summarization, function calling, fine-tuning friendly |
amazon.nova-pro-v1:0 |
Amazon Nova Pro | Amazon | Chat, math, and structured answers for AWS-style workloads |
deepseek.r1-v1:0 |
DeepSeek R1 | DeepSeek | Step-by-step reasoning; math, logic, and technical explanations |
deepseek.v3.2 |
DeepSeek V3.2 | DeepSeek | Efficient general Q&A, multilingual, everyday RAG (~164K context) |
openai.gpt-oss-120b-1:0 |
OpenAI GPT OSS 120B | OpenAI | Large generalist: research-style answers and long-form writing |
qwen.qwen3-32b-v1:0 |
Qwen 3 32B | Qwen | Code and bilingual (EN/ZH) tasks in a smaller footprint |
qwen.qwen3-next-80b-a3b |
Qwen3 Next 80B A3B | Qwen | MoE model for long chats, docs, and code at scale (~256K context) |
Prerequisites
- Node.js: Version 18.0.0 or higher
- Moorcheh Account: Active account with API access
- Git: For cloning the repository
Development
Development Mode
For development with auto-reload:
npm run dev
Available Scripts
| Script | Description |
|---|---|
npm start |
Start the MCP server |
npm run dev |
Start in development mode with auto-reload |
npm test |
Run tests (when available) |
Environment Variables
| Variable | Description | Required | Default |
|---|---|---|---|
MOORCHEH_API_KEY |
Your Moorcheh API key | Yes | None |
Troubleshooting
Common Issues
-
"Missing required API_KEY environment variable"
- Make sure you've created a
.envfile - Verify your API key is correctly set in the
.envfile - Check that the API key is valid in your Moorcheh dashboard
- Make sure you've created a
-
"Forbidden: Check your API key"
- Your API key may be invalid or expired
- Generate a new API key from the Moorcheh dashboard
- Update your
.envfile with the new key
-
"Network Error"
- Check your internet connection
- Verify the API endpoints are accessible
- Try again in a few minutes
Getting Help
- GitHub Issues: https://github.com/moorcheh-ai/moorcheh-mcp/issues
- Moorcheh Documentation: https://console.moorcheh.ai/docs/mcp
- Moorcheh Dashboard: https://console.moorcheh.ai
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Contributing
We welcome contributions! Please feel free to submit a Pull Request.
Changelog
For a detailed list of changes, see CHANGELOG.md.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。