{"repo":"pro-vi/mcp-filter","free":true,"listed":false,"github":"https://github.com/pro-vi/mcp-filter","clone":"git clone https://github.com/pro-vi/mcp-filter.git","description":"A proxy MCP (Model Context Protocol) server that filters the upstream tool surface to just the tools you need.","language":"Python","stars":54,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"MCP Filter A proxy MCP (Model Context Protocol) server that filters the upstream tool surface to just the tools you need. Expose one or two critical tools (for example, execute sql on Supabase) while filtering out the token-costly ones, without having to modify the upstream implementation. Before & After Before: Unfiltered MCP servers consumed 50k tokens on a fresh Claude Code session After: With mcp-filter, reduced to 13.7k tokens (72% reduction) while keeping all necessary tools. Filter only the tools you need, save context for longer sessions. To see your token usage: Open Claude Code and run /context to view the breakdown. What & Why - Static allowlist keeps the exposed tool list tiny, cutting context usage for clients that serialize tool schemas. - Drop-in proxy : stands in front of any MCP server that speaks stdio or HTTP/SSE, forwarding calls transparently. - Safety guardrails : optional regex-based deny list, optional prefix, and optional health tool for observability. Installation Python 3.10+ is supported; 3.11 is recommended. Using pip Using uv (faster, modern alternative) From source (development): Quick Start Shorthand flags: -t (transport), -a (allow-tool), -d (deny-pattern), -p (prefix) Note: Each repeatable --stdio-arg value is forwarded as one literal argument. Use --stdio-arg=value when the value begins with - . Tool allowlists passed with -a may be comma-separated. How to Wrap Your MCP Concept Transform any existing MCP server config by wrapping it with mcp","default_branch":null,"files":null,"tree":[],"storefront":"/r/pro-vi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pro-vi/mcp-filter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}