- Home
- MCP servers
- Grok API
Grok API
- typescript
5
GitHub Stars
typescript
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"tetsuo-ai-grok-api-mcp": {
"command": "node",
"args": [
"/path/to/grok-api-mcp/dist/index.js"
]
}
}
}You can run and connect to the Grok API MCP server to access 75 bundled xAI/Grok API documents, live updates, semantic search, and comprehensive API and model references. This MCP server makes it easy to explore documentation locally and integrate it with clients like Claude Desktop, Claude Code, or standalone tooling.
How to use
You can use this MCP server with your preferred MCP client to access bundled documentation, fetch fresh docs from the live source, and perform semantic searches across topics such as API endpoints, models, and guides.
How to install
Prerequisites: ensure you have Node.js and npm installed. You can verify with the following commands.
node -v
npm -v
Install the server and build assets
npm install
npm run build
Run the server locally
Start the server for development or personal use.
npm start
Configure MCP clients to connect to Grok docs
Use the provided MCP connection configurations to integrate with Claude Desktop, Claude Code, or MCP-compatible clients. Copy and paste the following JSON snippets into your client configuration where applicable.
Claude Desktop configuration
{
"mcpServers": {
"grok-api-docs": {
"command": "node",
"args": ["/path/to/grok-api-mcp/dist/index.js"]
}
}
}
Claude Code configuration
{
"mcpServers": {
"grok-api-docs": {
"command": "node",
"args": ["/path/to/grok-api-mcp/dist/index.js"]
}
}
}
Standalone usage
Run the server directly with the package manager to expose the MCP interface.
npm start
Available tools
search_docs
Search bundled documentation for API features, models, and guides
get_doc_page
Fetch fresh documentation pages from the live source
list_api_endpoints
List all API endpoints, optionally filtered by category
list_models
List all Grok models with their specifications and capabilities