Back to Home
apiwat-chantawibul icon

small-mcp-server-demos

Verified Safe

by apiwat-chantawibul

Overview

Provides a secure mathematical expression evaluator and an interface to an external search API, designed for AI agent integration.

Installation

Run Command
docker compose run -i -t --rm --build -p 8000:8000 mcp-calculator --transport http

Environment 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

Stats

Interest Score38
Security Score9
Cost ClassMedium
Avg Tokens750
Stars1
Forks0
Last Update2025-12-10

Tags

CalculatorSearchAI ToolsUtilitiesDevelopment