OpenBB Widgets JSON MCP
An MCP server that exposes the OpenBB widgets.json specification as structured, callable tools. Instead of parsing long-form documentation, developers (and AI coding assistants like Claude Code) can directly query widget types, inputs, and configuration examples through this server. Each widget type is mapped to its own tool—making it easy to generate, mix, and match valid JSON specs when building new OpenBB apps. The server is built with FastMCP, programmatically generated from the OpenBB developer docs, and hosted on Smithery.ai for discoverability.
Ask AI about OpenBB Widgets JSON MCP
Powered by Claude · Grounded in docs
I know everything about OpenBB Widgets JSON MCP. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
OpenBB Documentation MCP Server
A Model Context Protocol (MCP) server that provides OpenBB Workspace documentation to AI assistants through a two-step retrieval workflow.
What it does
This server exposes two tools that work together to retrieve relevant OpenBB documentation:
1. identify_openbb_docs_sections
- Takes a user query
- Fetches the complete OpenBB documentation table of contents
- Provides it to the LLM with instructions to identify up to 3 relevant section titles
- Returns the raw TOC for intelligent analysis
2. fetch_openbb_content
- Takes the section titles identified in step 1 + the original user query
- Fetches the full OpenBB documentation
- Extracts only the relevant sections
- Returns the content with OpenBB Copilot-compatible citation format instructions
Workflow
- LLM calls
identify_openbb_docs_sectionswith user's question - LLM analyzes the TOC and identifies relevant sections (up to 3)
- LLM calls
fetch_openbb_contentwith those section titles - LLM uses the extracted content to answer the user's question with proper citations
How to run
Start the server locally:
python server.py
The server will start on port 8000 by default. You can change it with:
PORT=8014 python server.py
The MCP endpoint will be available at http://localhost:8000/mcp
Configuration
The server is pre-configured with CORS for:
https://pro.openbb.cohttps://pro.openbb.devhttp://localhost:1420http://localhost:8000
Dependencies
Install requirements:
pip install -r requirements.txt
Requires Python 3.10+
