Show HN: ToolRegistry – A Python Library for Structured Tool Integration

3 Oaklight 4 5/10/2025, 8:25:43 AM github.com ↗

Comments (4)

Oaklight · 40d ago
Author here!

I’ve been working on ToolRegistry, a Python library for registering, managing, and invoking tools—from local functions to MCP/OpenAPI endpoints—in a structured, composable way.

With ToolRegistry, you can:

* Register Python functions, classes, or external tools. * Auto-generate JSON Schemas for parameters. * Run tools synchronously or asynchronously in parallel. * Integrate tools over STDIO, HTTP, WebSocket, or SSE via Model Context Protocol (MCP). * Experimental support for OpenAPI services * Compose tools dynamically and reconstruct tool output messages.

The goal is to make it easier to build apps, agents, or systems that coordinate multiple tools flexibly—without getting bogged down in glue code.

GitHub: [https://github.com/Oaklight/ToolRegistry](https://github.com/Oaklight/ToolRegistry) PyPI: [https://pypi.org/project/toolregistry/](https://pypi.org/project/toolregistry/) Docs: [https://toolregistry.lab.oaklight.cn](https://toolregistry.lab.oaklight.cn)

Would love feedback—ideas, issues, or use cases welcome!

Thanks for checking it out.

venk12 · 39d ago
This is interesting. I am working on an adjacent idea. I am working on GTM side of things. Would you like to collaborate?
Oaklight · 39d ago
what's GTM?
venk12 · 39d ago
GTM is go-to-market. It deals with how to distribute a product so that it can sold out there in the market.