What is DataHub MCP Server?
A Model Context Protocol server implementation that exposes DataHub API endpoints as tools for MCP clients. Built with FastMCP 2.6.0, it provides secure, configurable access to DataHub data services including person, company, vehicle, process, and market data lookups. Designed for developers integrating DataHub data into MCP-compatible applications.
How to use DataHub MCP Server?
Install via pip in a Python 3.8+ virtual environment, then run from the command line. Two transports are supported: stdio and SSE (default). For example, python -m src.fastmcp_server.server --transport sse --port 8000. Enable authentication with the --auth flag. Configuration is done via a JSON file or command-line arguments; available tools include over 20 DataHub API endpoints covering person, company, vehicle, process, Infobip, and market data.
Key features of DataHub MCP Server
- Exposes all DataHub API endpoints as MCP tools
- Supports stdio and SSE transport modes
- Optional bearer token authentication with RSA key pairs
- JSON-based configuration with sensible defaults
- Robust error handling and detailed logging
- Type safety with complete annotations
Use cases of DataHub MCP Server
- Retrieve person information by CPF, email, name, phone, or LinkedIn URL
- Look up company data by CNPJ or validate company information
- Get vehicle details by license plate, including FIPE valuation
- Query legal process information by process number
- Validate CPF and phone number combinations via Infobip
コメント