IBM watsonx.ai MCP server for Claude integration
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Inspect callable tools, capabilities, and parameters exposed to AI agents by Watsonx.
watsonx_generateGenerate text using watsonx.ai models
watsonx_chatChat with watsonx.ai models
watsonx_embeddingsGenerate text embeddings
watsonx_list_modelsList available models
MCP server for IBM watsonx.ai integration with Claude Code. Enables Claude to delegate tasks to IBM's foundation models (Granite, Llama, Mistral, etc.).
| Tool | Description |
|---|---|
watsonx_generate | Generate text using watsonx.ai models |
watsonx_chat | Chat with watsonx.ai models |
watsonx_embeddings | Generate text embeddings |
watsonx_list_models | List available models |
Set these environment variables:
Note: Either WATSONX_SPACE_ID or WATSONX_PROJECT_ID is required for text generation, embeddings, and chat. Deployment spaces are recommended as they have Watson Machine Learning (WML) pre-configured.
The MCP server is already configured in ~/.claude.json:
Once configured, Claude can use watsonx.ai tools:
Some notable models available:
ibm/granite-3-3-8b-instruct - IBM Granite 3.3 8B (recommended)ibm/granite-13b-chat-v2 - IBM Granite chat modelibm/granite-3-8b-instruct - Granite 3 instruct modelmeta-llama/llama-3-70b-instruct - Meta's Llama 3 70Bmistralai/mistral-large - Mistral AI large modelibm/slate-125m-english-rtrvr-v2 - Embedding modelUse watsonx_list_models to see all available models.
This enables a two-agent architecture where:
Claude can delegate tasks to watsonx.ai when:
This MCP server uses:
Create your own watsonx.ai project and deployment space in IBM Cloud.
This watsonx MCP server works alongside the IBM Z MCP server:
Demo scripts in the ibmz-mcp-server:
demo-full-stack.js - Full 5-service pipelinedemo-rag.js - RAG with watsonx embeddings + GraniteThe document analyzer (document-analyzer.js) provides powerful tools for analyzing your external drive data using watsonx.ai:
Run the full demo:
The embedding-index.js tool provides semantic search and RAG (Retrieval Augmented Generation):
The batch-processor.js tool processes multiple documents at once:
Categories: technical, business, creative, personal, code, legal, marketing, educational, other
index.js - MCP server implementationdocument-analyzer.js - Document analysis CLI toolembedding-index.js - Embedding index and RAG toolbatch-processor.js - Batch document processordemo-external-drive.sh - Demo scriptpackage.json - DependenciesREADME.md - This fileMatthew Karsten
MIT
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/watsonx)<a href="https://allmcps.com/mcp/watsonx"><img src="https://allmcps.com/api/badge/watsonx?style=directory" alt="Watsonx on AllMCPs" /></a>