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.2.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.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shadcn_docs_mcp-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ab21846c2d4820e4c8f46e2f6dd7bc5b584c4611eae47ea93d4efea197d0a8a0
MD5 8d5b9d6eb57c2458ffde7d2443b9e9c9
BLAKE2b-256 6f9b72f73ec0f9ff97abe94ea41830b823b3996e201dd6420f230c69a6a8170e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shadcn_docs_mcp-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e47196ef2e4b9ce3e5dcb666771eca23dca2a2df4fe5d4ed64bc9727205f6f25
MD5 59c2c6a357766eae99649494c6610484
BLAKE2b-256 c97eaa5840143cbbd5ec43e00165174cb0163a6e0a0120352e31b24cf9ce186e

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