loading…
Search for a command to run...
loading…
An MCP server that provides comprehensive xAI/Grok API documentation, allowing AI assistants to search bundled guides, fetch live documentation, and browse API
An MCP server that provides comprehensive xAI/Grok API documentation, allowing AI assistants to search bundled guides, fetch live documentation, and browse API endpoints or model specifications.
MCP server that provides xAI/Grok API documentation to AI assistants. Includes 75 bundled documentation files covering all xAI API features, models, and endpoints.
npm install
npm run build
Add to your Claude Desktop configuration (~/.config/claude/claude_desktop_config.json):
{
"mcpServers": {
"grok-api-docs": {
"command": "node",
"args": ["/path/to/grok-api-mcp/dist/index.js"]
}
}
}
Add to your Claude Code MCP settings:
{
"mcpServers": {
"grok-api-docs": {
"command": "node",
"args": ["/path/to/grok-api-mcp/dist/index.js"]
}
}
}
npm start
| Tool | Description |
|---|---|
search_docs |
Search bundled documentation for API features, models, and guides |
get_doc_page |
Fetch fresh documentation from docs.x.ai |
list_api_endpoints |
List all 44 API endpoints, optionally filtered by category |
list_models |
List all 13 Grok models with context lengths and capabilities |
Search the bundled documentation using keywords.
query: "function calling"
Fetch a specific documentation page from docs.x.ai.
path: "guides/function-calling"
List API endpoints. Filter by category: chat, images, videos, voice, models, files, batch, collections, api-keys, billing, team, audit.
category: "collections" # optional
List all available Grok models with their specifications.
| Category | Count | API |
|---|---|---|
| Chat | 4 | Inference |
| Images | 2 | Inference |
| Videos | 2 | Inference |
| Voice | 1 | Inference |
| Models | 3 | Inference |
| Files | 5 | Inference |
| Batch | 7 | Inference |
| Collections | 9 | Management |
| API Keys | 4 | Management |
| Billing | 3 | Management |
| Team | 3 | Management |
| Audit | 1 | Management |
Language models:
Image generation:
Video generation:
npm run build # Compile TypeScript + copy data files
npm run start # Run the server
npm run dev # Watch mode for development
.md file to src/data/npm run buildsearch_docsMIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"grok-api-mcp": {
"command": "npx",
"args": []
}
}
}