MCP System Tools Server
Provides AI agents with tools to retrieve live system statistics (CPU, memory) and safely evaluate basic arithmetic expressions.
README
MCP System Tools Server
This is a production-ready Model Context Protocol (MCP) server built in Python. It provides custom tools that AI Agents (like Claude or custom LangChain/LlamaIndex bots) can connect to and use to interact with the host system.
๐ ๏ธ Included Tools
get_system_stats: Retrieves current live system statistics (CPU usage, Memory usage, Available Memory).calculate_expression: A safe math evaluator that performs basic arithmetic operations.
๐ How to Run (Docker - Recommended)
If you have Docker installed, you can spin up the entire isolated environment with one command:
docker-compose up --build -d
The Server-Sent Events (SSE) endpoint will be available at: http://localhost:8000/sse
๐ป How to Run (Local Python)
If you don't have Docker, you can run the server directly using Python.
- Install the requirements:
pip install -r requirements.txt
- Run the server:
python mcp_server.py
The server will boot up and listen for connections on http://127.0.0.1:8000/sse.
๐งช Testing the Server
You can quickly test your tools using the official MCP Inspector. Run the following command in a new terminal:
npx -y @modelcontextprotocol/inspector
- Select SSE as the transport.
- Enter
http://127.0.0.1:8000/sseas the URL and click Connect.
Alternatively, run the included test_client.py script:
python test_client.py
๐ค Connecting to Claude Desktop
You can easily give Claude Desktop the ability to use these tools. Add this configuration to your Claude config file (claude_desktop_config.json):
{
"mcpServers": {
"system-tools": {
"command": "python",
"args": [
"path/to/your/mcp_server.py"
]
}
}
}
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.