libra-guo/ca-business-check-mcp-server
If you are the rightful owner of ca-business-check-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The CA Business Registration Checker is an MCP server designed to verify business registrations in California using registration numbers.
CA Business Registration Checker - MCP Server
This is a simple Model Context Protocol (MCP) server that provides a tool to check business registrations in California using registration numbers.
Features
- Search for business registrations by registration number
- Returns detailed information about businesses including status, entity type, and more
Requirements
- Python 3.8+
- fastmcp package
Installation
pip install fastmcp
Usage
-
Run the server:
python main.py
-
Connect to the server using an MCP client at
http://localhost:8000
Tools
get_business_info
Get business information by registration number from the Secretary of State database.
Parameters:
registration_number
(str): The registration number of the business to look up
Returns:
- A dictionary containing business registration details or an error message
Testing
To verify the data structure without running the full server:
python test_data.py
This will show an example of the complete business information returned for a valid registration number.
Testing with curl
Once the server is running, you can test it with a curl command:
curl -X POST http://localhost:8000/tools/get_business_info \
-H "Content-Type: application/json" \
-d '{"registration_number": "SOS-CA-9876543"}'