Cover image
Try Now
2025-03-16

一个模型上下文协议(MCP)服务器,可提供对Marimo文档的程序化访问。

3 years

Works with Finder

1

Github Watches

1

Github Forks

2

Github Stars

Marimo Documenation MCP Server

A Model Context Protocol (MCP) server that provides access to the Marimo Documentation.

This TypeScript-based MCP server lets you fetch and search through Marimo's API documentation, providing structured access to components, interfaces, and examples across all documentation sections.

Features

Tools

get_element_api

Get detailed API documentation for any Marimo UI element or component.

  • Input: element (string) - Name of the element to get documentation for (e.g., "slider", "button")
  • Output: Structured API documentation including:
    • Title and description
    • Parameters with types and defaults
    • Code examples
    • Usage patterns

search_api

Search across all Marimo API documentation.

  • Input: query (string) - Search term to find in documentation
  • Output: Array of matching documentation entries from any section

Documentation Sections

The server provides access to documentation for all Marimo components:

Inputs

  • Form elements (button, checkbox, dropdown, etc.)
  • Data inputs (array, dataframe, dictionary)
  • File handling (file, file_browser)
  • Interactive elements (slider, range_slider, tabs)

Layouts

  • Structural components (accordion, sidebar, tree)
  • Organization tools (callout, carousel)
  • Content management (lazy, routes)

Media

  • Media elements (audio, video, image)
  • File handling (download, pdf)
  • Text display (plain_text)

Core Features

  • Markdown
  • Control Flow
  • Plotting
  • HTML
  • State Management
  • And more...

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

With Claude Desktop

Add to:

  • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "marimo-docs": {
      "command": "/path/to/marimo-docs/build/index.js"
    }
  }
}

With VSCode Cline Extension

Add to:

  • MacOS: ~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
  • Windows: %APPDATA%/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "marimo-docs": {
      "command": "node",
      "args": ["/path/to/marimo-docs/build/index.js"]
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. For development, the server outputs detailed logs to stderr.

You can also use the MCP Inspector:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

Error Handling

The server provides organized error messages that:

  • List all available elements grouped by section
  • Provide clear feedback on invalid requests
  • Include proper HTTP error codes

Implementation Details

  • Uses Cheerio for HTML parsing of documentation pages
  • Implements caching to reduce documentation fetch requests
  • Handles proper URL construction for all documentation sections
  • Supports recursive search across all documentation content

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • zhaoyunxing92
  • MCP(消息连接器协议)服务

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

    Reviews

    1 (1)
    Avatar
    user_fFnBvwDs
    2025-04-15

    I've been using the mcp-server-taiwan-aqi and it's truly impressive. The data accuracy for Taiwan's air quality is top-notch, making it an invaluable resource for anyone concerned about environmental issues. The user interface is intuitive, and the real-time updates are reliable. Kudos to besthand for developing such a useful server! Highly recommend checking it out at https://mcp.so/server/mcp-server-taiwan/besthand.