mcp-tw-company
Click on "Deploy 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-tw-company 查詢公司名稱含有「宏碁」的公司"
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 Taiwan Company Registry
An MCP server for Taiwan company registry open data, exposing AI-callable tools over Model Context Protocol (MCP). Powered by the Ministry of Economic Affairs GCIS open data endpoints.
Features
stdio JSON-RPC 2.0 — Standard MCP transport protocol
@mcp.tool()decorator — Pydantic-typed tool registrationREST connector — Retry support with exponential backoff
No-auth public API access — Uses the GCIS open data endpoint directly
E2E testing — Live API test runner
9 registered tools — Company search, directors, business items, branch offices, and more
Related MCP server: mcp-tw-lvr
Prerequisites
Python
3.14.xNo API key required (public open data)
Installation
From PyPI
pip install mcp-tw-companyWith uvx (no install needed)
uvx mcp-tw-companyFrom source
git clone https://github.com/asgard-ai-platform/mcp-tw-company.git
cd mcp-tw-company
uv syncConfiguration
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"tw-company": {
"command": "uvx",
"args": ["mcp-tw-company"]
}
}
}Claude Code
Add to .mcp.json in your project:
{
"mcpServers": {
"tw-company": {
"command": "uvx",
"args": ["mcp-tw-company"]
}
}
}Cursor
Add to Cursor MCP settings:
{
"mcpServers": {
"tw-company": {
"command": "uvx",
"args": ["mcp-tw-company"]
}
}
}Quick Start
# Setup
uv sync
# Test connection
uv run python scripts/auth/test_connection.py
# Run server
uv run python mcp_server.pyUsage Examples
"Search for companies by name"
You: 幫我查「宏碁」相關的公司
AI calls:
get_company_registrations_by_name_keyword(
company_name_keyword = "宏碁",
company_status = "01",
)Result: SUCCESS — Returns matching company registrations including name, unified business number, capital, representative, and address.
"Look up a specific company by number"
You: 統一編號 89845559 是哪家公司?
AI calls:
get_company_registration_master_by_number(
business_accounting_no = "89845559",
)Result: SUCCESS — Returns master registration profile: 森鉅科技材料股份有限公司, capital NT$3B, located in Tainan.
"Find directors and supervisors"
You: 查一下這家公司的董監事名單
AI calls:
get_company_directors_by_number(
business_accounting_no = "89845559",
)Result: SUCCESS — Returns 9 directors/supervisors with positions, names, corporate representatives, and shareholding.
"Check what business items a company is registered for"
You: 這家公司的營業項目有哪些?
AI calls:
get_company_registration_with_business_items_by_number(
business_accounting_no = "89845559",
)Result: SUCCESS — Returns company profile with 13 registered business items including manufacturing, trading, and construction.
"Determine entity type by number"
You: 統編 00208407 是公司還是商號?
AI calls:
get_registry_entity_type_by_number(
no = "00208407",
)Result: SUCCESS — Returns entity classification (company, branch office, or business).
Tools Reference
Tool | Description | Key Parameters |
| Search companies by name keyword |
|
| Company master profile |
|
| Company profile with business items |
|
| Directors and supervisors |
|
| Company name lookup |
|
| Entity type classification |
|
| Branch offices by company |
|
| Business profile by agency |
|
| Business registration items |
|
All tools support skip (default 0) and top (default 50) pagination parameters.
TODO
Integrate
company registration basic data (application 2)fromF05D1060-7D57-4763-BDCE-0DAF5975AFE0Integrate
business name by numberfrom855A3C87-003A-4930-AA4B-2F4130D713DCInvestigate the upstream access restriction for
business registrations by name keyword(A1B4CBFF-2D3A-409B-8A78-2AD94F63AE4A): the test endpoint currently returnsunauthorized integration IPin this environmentInvestigate the upstream access restriction for
branch offices by branch number(23632BB3-5DB7-4423-9643-1D4AC140D479): the test endpoint currently returnsunauthorized integration IPin this environment
Project Structure
mcp-tw-company/
├── app.py # FastMCP singleton
├── mcp_server.py # Entry point (stdio transport)
├── config/settings.py # API endpoints, URL builder, request headers
├── connectors/
│ └── rest_client.py # HTTP REST with retry + pagination
├── auth/
│ └── none.py # No auth (public API)
├── tools/
│ └── company_registry_tools.py
├── tests/test_all_tools.py # E2E test runner
└── scripts/auth/test_connection.pyTesting
uv run python scripts/auth/test_connection.py # Validate API connectivity
uv run python tests/test_all_tools.py # Run all tool E2E testsData Source
This project uses Ministry of Economic Affairs GCIS open data endpoints for company and business registration data.
Contributing
See CONTRIBUTING.md for development setup and guidelines.
License
MIT License — see LICENSE for details.
Available Tools
9 toolsget_branch_offices_by_company_numberB
Get branch office records by company unified business number.
Inputs: business_accounting_no (required), skip, top.
get_business_registration_items_by_numberC
Get business registration items by business number.
Inputs: president_no (required), skip, top.
get_business_registration_profile_by_agencyC
Get business registration profile by business number and agency.
Inputs: president_no (required), agency (required), skip, top.
get_company_directors_by_numberB
Get company directors/supervisors by unified business number.
Inputs: business_accounting_no (required), skip, top.
get_company_name_by_numberC
Get company name by unified business number.
Inputs: business_accounting_no (required), skip, top.
get_company_registration_master_by_numberB
Get company registration master profile by unified business number.
Inputs: business_accounting_no (required), skip, top.
get_company_registrations_by_name_keywordB
Search company registrations by company name keyword and status.
Inputs: company_name_keyword (required), company_status (required), skip, top.
get_company_registration_with_business_items_by_numberC
Get company registration profile with business items by unified business number.
Inputs: business_accounting_no (required), skip, top.
get_registry_entity_type_by_numberA
Check whether a unified number is company, branch, or business.
Inputs: no (required), skip, top.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct aspect of company data (branch offices, directors, name, registration profile, etc.), with clear separation even among similar-sounding tools like master profile vs. registration with business items.
All tools follow a consistent 'get_' + descriptive noun phrase pattern with underscores, making naming predictable and easy to navigate.
9 tools is well-scoped for a company information retrieval server, covering essential queries without redundancy or unnecessary complexity.
The set comprehensively covers common lookup needs by number and name keyword, but lacks operations like listing all companies or searching by additional criteria, which is a minor gap.
Maintenance
Related MCP Connectors
台灣繁中:一個 MCP 端點串接 19 個台灣資料站工具,並可搜尋 MCP 伺服器與 x402 付費 API。
MCP server for Chinese law lookup: statutes, regulations and articles by keyword or law name.
Search the public universe of MCP servers. This data comes from the Official MCP Registry.
An MCP server that provides Croatian corporate, financial, and beneficial ownership intelligence.
Related MCP Servers
AlicenseNot gradedqualityCmaintenanceMCP server for querying Brazilian CNPJ company data, including partner graphs, address/contact joins, CNAE statistics, and national/annual overviews.MIT- AlicenseAqualityDmaintenanceMCP server for querying Taiwan's real estate transaction registry via web scraping of the Ministry of the Interior's official portal. Enables natural language queries for real estate sales, rentals, and pre-sale housing data.11MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for searching Japanese corporate data including companies, financials, patents, subsidies, and government statistics via official government APIs.1MIT
- FlicenseNot gradedqualityDmaintenanceA MCP server for querying Taiwan ISBN book data, supporting search by title, author, publisher, batch ISBN lookup, and browsing new books.-