Tool Filter MCP
An MCP proxy server that filters tools from the upstream MCP server through a regular expression deny list, solves the context pollution problem, and reduces useless tokens
rating : 2.5 points
downloads : 8.2K
What is Tool Filter MCP?
Tool Filter MCP is an intelligent proxy server specifically designed to filter and block unnecessary MCP (Model Context Protocol) tools. It removes unwanted tools from the upstream MCP server through regular expression pattern matching, thereby significantly reducing the useless information received by the AI model and improving processing efficiency and accuracy.How to use Tool Filter MCP?
You can start the filtering service using a simple command-line tool. You only need to specify the address of the upstream MCP server and the tool patterns to be filtered to start enjoying a clean tool environment. It supports seamless integration with mainstream AI agents such as Claude Code.Use cases
It is particularly suitable for scenarios where large MCP servers (such as GitHub, Supabase, JetBrains IDE, Atlassian, etc.) are used. When you only need some of the functions but don't want to receive all tool descriptions, Tool Filter MCP can effectively solve the context pollution problem.Main features
Tool filtering
Use regular expression pattern matching to block specific tools, supporting multiple filtering patterns
Header passthrough
Support custom HTTP header passthrough for easy authentication of the upstream server
Zero-latency design
Adopt a cached tool list design, introducing minimal performance overhead
Fail-fast mechanism
Report errors immediately in case of connection problems or invalid patterns for easy and quick debugging
Transparent proxy
Forward allowed tool calls to the upstream server without modification
Advantages
Significantly reduce useless tokens and improve the performance of AI agents by 40 - 60%
Completely solve the context pollution problem and prevent the model from trying to call denied tools
Zero performance overhead. The cache design ensures efficient operation
A simple and easy-to-use command-line interface for quick deployment
Fully compatible with the existing MCP ecosystem
Limitations
Only support upstream MCP servers using the SSE transmission protocol
Require a Node.js 20.0.0 or higher environment
Filtering rules need to be manually configured and maintained
How to use
Install the tool
Ensure that Node.js 20.0.0 or a higher version is installed, and then use it directly through npx or install it globally
Configure the upstream server
Determine the address of the upstream MCP server to connect to, and ensure that it uses the SSE transmission protocol
Set filtering rules
Define the tool name patterns to be filtered as needed, supporting regular expressions
Add authentication information (optional)
If the upstream server requires authentication, you can pass the authentication token through the header parameter
Start the service
Run the complete command to start the filtering proxy service
Usage examples
Basic tool filtering
Filter all file operation tools ending with _file and keep other functions
Multi-pattern filtering
Filter multiple specific tools simultaneously, using comma-separated patterns
Filtering service with authentication
Pass authentication information to the upstream server while filtering tools
Claude Code integration
Integrate the filtering proxy into the Claude Code configuration file
Frequently Asked Questions
Why do we need to use Tool Filter MCP?
Will filtering tools affect performance?
Which upstream servers are supported?
How to debug filtering rules?
Does it support environment variables?
Related resources
npm package page
Official npm package information and version history
GitHub repository
Source code and contribution guidelines
MCP protocol documentation
Official documentation of the Model Context Protocol
Claude Code configuration guide
Configuration instructions for the MCP server of Claude Code

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
17.7K
4.5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
17.7K
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
28.8K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
56.1K
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
51.8K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
24.7K
5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
17.5K
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
37.2K
4.8 points

