Curated tools, ready to run
Useful tools without rebuilding the stack.¶
Use curated search, fetch, datetime, calculator, file, shell, and workflow tools as local Python imports, with ToolRegistry Core, or as hosted MCP/OpenAPI services.
Two Ways to Use¶
from toolregistry_hub import Calculator, DateTime, BashTool, FileSearch
Calculator.evaluate("sqrt(144) + 2**3") # 20.0
DateTime.now("Asia/Shanghai") # current time in Shanghai
BashTool.execute("git status") # safe shell execution
FileSearch.grep(r"TODO", path="src/") # search code
Every tool is a plain Python class with static methods — no instantiation, no state, no server needed. Learn more →
pip install toolregistry-hub[server]
# REST API server
toolregistry-hub openapi --port 8000
# MCP server (for AI agents)
toolregistry-hub mcp --transport streamable-http --port 8000
All tools are auto-exposed as API endpoints. Learn more →
Available Tools¶
| Category | Tools | Highlights |
|---|---|---|
| Calculation | Calculator, UnitConverter | Expression evaluation, 100+ unit conversions |
| Date & Time | DateTime | Timezone-aware time, cross-timezone conversion |
| File Management | FileOps, FileReader, FileSearch, PathInfo | Exact-string edit, glob/grep/tree, PDF & notebook reading |
| Shell | BashTool | Shell execution with built-in deny list security |
| Web | Fetch, BraveSearch, TavilySearch, ... | Content extraction, multi-engine search |
| Cognitive | ThinkTool, TodoList | Structured reasoning, task management |
Explore the Tools section for detailed documentation.
Why ToolRegistry Hub?¶
- Dual-mode — same tools work as library imports and as server endpoints
- Agent-ready — designed for LLM function calling with proper schemas
- Secure — BashTool deny list, FileOps safety caps, no arbitrary code execution
- Minimal dependencies — most tools use only the Python standard library
- Batteries included — 15+ tools covering files, search, compute, and more
Ecosystem¶
ToolRegistry Hub is part of a three-package ecosystem. See the Ecosystem page for details.
| Package | Role |
|---|---|
| toolregistry | Core tool management library |
| toolregistry-server | OpenAPI & MCP server adapters |
| toolregistry-hub | Ready-to-use utility tools |
Get Involved¶
- GitHub Repository - Source code and issues
- 中文文档 - Chinese documentation
- Tools Documentation - Complete tool reference
ToolRegistry Hub: Making utility tools accessible and reliable.