small-mcp-server-demos
Verified Safeby apiwat-chantawibul
Overview
Provides a secure mathematical expression evaluator and an interface to an external search API, designed for AI agent integration.
Installation
docker compose run -i -t --rm --build -p 8000:8000 mcp-calculator --transport httpEnvironment Variables
- SEARCH_API_KEY
Security Notes
The calculator module uses AST parsing and whitelisted operators to safely evaluate mathematical expressions, avoiding direct use of `eval()`. The search-api module securely handles API keys via environment variables and makes standard HTTP requests to an external search service. Reliance on the external `searchapi.io` for query sanitization is implied.
Similar Servers
Lynkr
Lynkr is an AI orchestration layer that acts as an LLM gateway, routing language model requests to various providers (Ollama, Databricks, OpenAI, etc.). It provides an OpenAI-compatible API and enables AI-driven coding tasks via a rich set of tools and a multi-agent framework, with a strong focus on security, performance, and token efficiency. It allows AI agents to interact with a defined workspace (reading/writing files, executing shell commands, performing Git operations) and leverages long-term memory and agent learning to enhance task execution.
pentestMCP
This MCP server enables AI agents to perform automated and interactive penetration testing tasks by exposing a suite of security assessment utilities as callable tools.
openwebui-tool-server
Provides a unified API endpoint for various tools (calculator, multiple web search engines, webpage content extraction) that can run in either OpenAPI or MCP (Multi-Modal Communicative Protocol) mode.
mcp-server-n8n
Provides a Model Context Protocol (MCP) server for n8n to expose custom tools, starting with a mathematical expression evaluator.