mcp-micro-tools
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-micro-toolsDecode base64: SGVsbG8gV29ybGQ="
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-micro-tools
Agent 的瑞士军刀 —— 把 LLM 不擅长的微任务交给它
为什么需要这个?
大模型在处理自然语言时很强,但有些"精确计算"类的任务经常出错:
任务 | 模型表现 | mcp-micro-tools |
"3月15日 + 45个工作日是哪天" | 经常算错 |
|
复杂正则提取 | 编造正则、幻觉匹配 |
|
Base64 解码 | 偶尔编造内容 |
|
URL query 参数提取 | 可能遗漏 |
|
JSON 深度对比 | 100行以上必丢字段 |
|
一句话:把确定性计算还给工具,把不确定性推理留给模型。
Related MCP server: agent-utils-mcp
安装
pip install mcp-micro-tools需要 Python 3.10+。
配置 AI Agent
Claude Code / Claude Desktop
{
"mcpServers": {
"micro-tools": {
"command": "python",
"args": ["-m", "mcp_micro_tools.server"]
}
}
}Codex / Cursor / Continue
{
"mcpServers": {
"micro-tools": {
"command": "python",
"args": ["-m", "mcp_micro_tools.server"]
}
}
}OpenClaw
在 openclaw.json 中添加:
{
"mcp_servers": [
{
"name": "micro-tools",
"command": "python",
"args": ["-m", "mcp_micro_tools.server"]
}
]
}工具列表
工具 | 功能 | 示例 |
| 日期时间运算 |
|
| 时区转换 | UTC → Asia/Shanghai |
| 正则测试(findall/search/match/split) | 提取所有邮箱 |
| 正则替换 | 格式化电话号码 |
| 编码 | base64 / URL / hex / HTML |
| 解码 | base64 / URL / hex / HTML |
| JSON 路径查询 |
|
| JSON 深度对比 | 递归找出所有差异 |
| URL 解析 | scheme / host / path / query |
| 哈希计算 | md5 / sha1 / sha256 / sha512 |
| UUID 生成 | 单个或批量 |
使用示例
场景 1:时间计算
User: "合同签于 2026-03-15,90 个工作日后是哪天?"
Agent 调用 → time_calc("2026-03-15 + 90 days")
结果 → 2026-06-13T00:00:00场景 2:正则提取
User: "从这段日志里提取所有 IP 地址"
Agent 调用 → regex_test("\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}", log_text)
结果 → ["192.168.1.1", "10.0.0.5", ...]场景 3:JSON 对比
User: "对比这两个 API 返回的 JSON,看看少了什么字段"
Agent 调用 → json_diff(api_response_a, api_response_b)
结果 → {"users[2].email": {"removed": "..."}, "metadata.version": {"changed": {...}}}场景 4:编码解码
User: "这段 Base64 解码出来是什么?"
Agent 调用 → decode("SGVsbG8gV29ybGQ=", "base64")
结果 → Hello World设计哲学
零依赖(核心):除
mcp和python-dateutil外,只用 Python 标准库单文件:核心逻辑一个
server.py,方便审查和 fork无状态:每次调用独立,不存任何数据
静默输出:只返回结果,不废话
扩展
欢迎贡献更多微工具。一个好的微工具满足:
LLM 天然不擅长(精确计算、结构化操作)
输入输出明确(可 JSON 序列化)
单次调用完成(无状态)
PR 直接开,README 底部留个 Credits 就够。
License
MIT
相关项目
awesome-mcp-servers — MCP Server 合集
Superpowers — Agent Skill 框架
OpenClaw — 跨平台 AI 助手
claw-code — Claude Code Rust 实现
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ZZZ034/mcp-micro-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server