mui / mui/material-ui

mcp tool useMuiDocs returning too many tokens for Claude Code

Open
#46,778 4 comments 6 reactions 1 assignee View on GitHub

@hasdfa is already working on this.

Since Aug 20, 2025.

scope: mcp status: waiting for maintainer
Dominant language
JavaScript
Stars
99.1k
Forks
32.5k
Avg merge
2d 17h
Merged PRs (30d)
106

Description

Steps to reproduce

Steps:

  1. install claude code
  2. install mcp server
  3. ask it to search material-ui documentation
Current behavior
● mui-mcp - useMuiDocs (MCP)(urlList: ["https://llms.mui.com/material-ui/7.2.0/llms.txt"])
  ⎿  Error: MCP tool "useMuiDocs" response (25712 tokens) exceeds maximum allowed tokens (25000). Please use pagination, filtering, or limit parameters to reduce the response size.

I've tried prompting claude-code to use pagination, filtering, or limits all with no success.

Expected behavior

No response

Context

No response

Your environment

No response

Search keywords: mcp, claude code

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.