ohos-mcp-unofficial
Provides tools for searching, reading, and browsing official HarmonyOS/OpenHarmony documentation, enabling AI agents to retrieve and analyze technical documentation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ohos-mcp-unofficial find documentation about ArkUI components"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Unofficial OpenHarmony/HarmonyOS MCP Server (English)
This is an unofficial Model Context Protocol (MCP) server that brings the power of HarmonyOS & OpenHarmony English Documentation directly to your AI assistants. It indexes over 5,000 official documentation files for instant, high-context retrieval.
🚀 Quick Start: Zero-Install Method (Recommended)
The easiest way to use this is via npx. No cloning required!
1. Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"ohos-docs": {
"command": "npx",
"args": ["-y", "github:megaacheyounes/ohos-mcp-unofficial"]
}
}
}2. ChatGPT Codex CLI
Add the server using the following command:
codex mcp add ohos -- npx -y github:megaacheyounes/ohos-mcp-unofficial3. OpenCode AI
In the OpenCode settings or config:
Command:
npxArguments:
-y github:megaacheyounes/ohos-mcp-unofficial
4. Cursor / Windsurf / IDEs
Add a new MCP server in the settings:
Type:
commandCommand:
npx -y github:megaacheyounes/ohos-mcp-unofficial
5. Gemini CLI
In your .geminirc:
{
"mcpServers": {
"ohos": {
"command": "npx",
"args": ["-y", "github:megaacheyounes/ohos-mcp-unofficial"]
}
}
}Related MCP server: DevDocs MCP Server
🖼️ Multimodal Support
The documentation has been optimized for AI agents with "vision" capabilities.
Remote Images: All diagrams and screenshots are linked directly to the official Gitee repository.
Agent Action: Multimodal agents can follow these links to download and analyze visual architecture diagrams, UI mockups, and flowcharts to provide more accurate explanations.
🌐 Understanding the Two Modes
1. Stdio Mode (Default)
Used by local assistants (Claude Desktop, Cursor, etc.). The assistant starts the server as a background process.
2. HTTP Mode
Use this for remote access or web integrations.
# Start server
npx -y github:megaacheyounes/ohos-mcp-unofficial --http --port 3456Health Check:
http://localhost:3456/healthTool Calls: POST to
http://localhost:3456/call
🧰 Available Tools
find_docs: Search documentation by keywords (e.g., "Navigation", "Canvas").read_doc: Retrieve the full Markdown content of a specific document.list_doc_topics: Browse the documentation hierarchy.
🌟 Credits
Inspired by arkts-helper. This version is specifically optimized for the English-speaking community using OpenHarmony 6.1 (API 23) open-source documentation.
⚖️ Disclaimer
This is an unofficial community project and is not affiliated with, maintained by, or endorsed by Huawei Technologies Co., Ltd. or the OpenHarmony project.
Parts of this project were generated or assisted by AI.
Use of this tool and the documentation it retrieves is at your own risk. Always verify critical information against the official documentation.
📄 License
MIT © megaacheyounes
Available Tools
3 toolsfind_docsA
Search through HarmonyOS/OpenHarmony application development documentation. Use this to find UI components, APIs, or architectural guidance.
Inputs: query (required), limit.
list_doc_topicsA
List all available documentation categories to understand the structure of the HarmonyOS SDK.
Inputs: no named parameters.
read_docA
Read the full content of a specific documentation file to get code examples and detailed API usage.
Inputs: objectId (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: searching, reading, and listing documentation topics. There is no overlap or ambiguity between them.
All three tools follow the consistent verb_noun pattern with underscores: find_docs, read_doc, list_doc_topics. The naming is uniform and predictable.
Three tools is well-scoped for a documentation lookup server. Each tool addresses a necessary step in the workflow without unnecessary bloat.
The tool set covers the full documentation workflow: discover topics, search for specific docs, and read full content. No critical operations are missing for the stated purpose.
Maintenance
Related MCP Connectors
Access and search Branch's official API documentation directly within any AI agent or client.
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Search your knowledge bases from any AI assistant using hybrid RAG.
Related MCP Servers
- AlicenseBqualityFmaintenanceProvides AI assistants with access to Apple's Human Interface Guidelines and technical API documentation across all Apple platforms (iOS, macOS, watchOS, tvOS, visionOS), enabling unified search of design principles and implementation details.3168 npm21MIT
- FlicenseAqualityDmaintenanceProvides AI models with direct access to documentation for over 600 technologies from DevDocs.io, including popular languages, frameworks, and tools. It enables comprehensive searching, content retrieval, and offline access via an intelligent local caching system.122-
- FlicenseNot gradedqualityDmaintenanceProvides retrieval of WeChat Work and Feishu developer documentation, enabling AI assistants to query API references without switching browsers.22 npm19-
- AlicenseAqualityCmaintenanceProvides documentation search, reading, and AI-powered Q\&A for ArkTS/ArkUI development, enabling AI coding assistants to answer questions and retrieve official docs.743MIT