Skip to main content

MCP server for browsing shadcn/ui documentation

Project description

shadcn-docs-mcp

MCP server for browsing shadcn/ui documentation.

Tools

Tool Description
shadcn_contents Fetch the table of contents (llms.txt) with relative links
shadcn_page Fetch a doc page by relative path (e.g. /docs/components/button)

All absolute ui.shadcn.com URLs are converted to relative /docs/... paths.

Install

uv sync

Usage with Claude Code

uvx (no install needed)

claude mcp add shadcn-docs -- uvx shadcn-docs-mcp

From local checkout

claude mcp add shadcn-docs -- uv run --directory /path/to/shadcn-docs-mcp shadcn-docs-mcp

.mcp.json

{
  "mcpServers": {
    "shadcn-docs": {
      "type": "stdio",
      "command": "uvx",
      "args": ["shadcn-docs-mcp"]
    }
  }
}

Development

uv sync
uv run shadcn-docs-mcp

Test with MCP Inspector:

npx @modelcontextprotocol/inspector uv run shadcn-docs-mcp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shadcn_docs_mcp-0.1.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shadcn_docs_mcp-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file shadcn_docs_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: shadcn_docs_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for shadcn_docs_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2842c8aa4a838c72292a158edb24304fcb457409bacb06313c5958b348264bca
MD5 dca21627da707417e6239b3c3641e04c
BLAKE2b-256 dbea3678d872849cd6c0bcded9c6fbebcd37755e1f8033a5c3e482f07914c244

See more details on using hashes here.

File details

Details for the file shadcn_docs_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: shadcn_docs_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for shadcn_docs_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb8fb9627313ce6b30e360ce7392b572b6d3563ee93fdcc85b4c1e31cd0152fe
MD5 2973d4b916ac0d659085f8f2e096aed7
BLAKE2b-256 a307ad8b8139b6860b53768da54fe3b65c14ed64fa2b642ca9629db5b7ffb5a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page