企业信息查询服务

Autoform MCP Server是一个用于查询斯洛伐克企业信息的服务,支持通过名称或注册号搜索企业详细信息,并可通过API集成到各种平台和应用中。

  • by freevisionsk
  • Python
  • 本地部署
  • 7 星标
  • 更新于
在 GitHub 查看 freevisionsk/autoform-mcp

使用说明

自动生成MCP服务器

斯洛文尼亚Autoform服务的模型上下文协议(MCP)服务器。基于数字 API文档.

作者 @阿尔哈福

特性

  • 按名称搜索斯洛伐克法人团体(公司、组织)
  • 按注册号搜索(IČO/CIN)
  • 筛选结果以仅显示活动(非终止)实体
  • 返回详细的公司信息,包括地址和税号

快速入门(托管版)

使用Autoform MCP的最简单方法是通过我们的托管版本 https://autoform.fastmcp.app/mcp 使用流式HTTP模式。无需安装。

获取您的API代币

若要使用Autoform API,您需要一个专用访问令牌:

  1. 注册 付费访问 在 斯洛文尼亚。数字自动表格
  2. 注册后,您将收到您的私人访问令牌

认证

使用以下方法之一传递Autoform API令牌(按优先级顺序):

  1. 认证头 (推荐): Authorization: Bearer <token>
  2. 自定义页眉: x-autoform-private-access-token: <token>

隐私声明

您的代币在我们这里是安全的。 我们非常重视隐私:

  • 您的API代币是 从未存储 在我们的服务器上
  • 令牌仅用于代表您对Autoform API的请求进行身份验证
  • 我们不会以任何方式记录、跟踪或利用您的凭据
  • 所有通信均通过HTTPS加密

Claude代码集成(托管)

claude mcp add autoform --transport http --header "Authorization: Bearer your-token-here" https://autoform.fastmcp.app/mcp

Claude桌面集成(托管)

添加到您的Claude桌面配置(~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "autoform": {
      "type": "streamable-http",
      "url": "https://autoform.fastmcp.app/mcp",
      "headers": {
        "Authorization": "Bearer your-token-here"
      }
    }
  }
}

Make.com集成(托管)

您可以在中使用Autoform MCP服务器 Make.com (前身为Integromat)使用 MCP客户端-调用工具 应用程序:

  1. 添加 MCP客户端-调用工具 模块到您的场景
  2. 使用以下设置创建新的MCP服务器连接:
  3. 选择 query_corporate_bodies 工具并配置查询参数

自托管安装

来自PyPI(推荐)

pip install autoform-mcp

或者使用uvx直接运行而无需安装:

uvx autoform-mcp

来源

# Clone the repository
git clone https://github.com/alhafoudh/autoform-mcp.git
cd autoform-mcp

# Install dependencies
uv sync

配置

设置 AUTOFORM_PRIVATE_ACCESS_TOKEN 来自的API令牌的环境变量 斯洛文尼亚。数字.

export AUTOFORM_PRIVATE_ACCESS_TOKEN="your-token-here"

用法

运行MCP服务器(STDIO传输)

# If installed from PyPI
autoform-mcp

# Or using uvx
uvx autoform-mcp

# Or from source
uv run python autoform_mcp.py

使用FastMCP CLI运行

uv run fastmcp run autoform_mcp.py

检查可用工具

uv run fastmcp inspect autoform_mcp.py

MCP Inspector开发模式

uv run fastmcp dev autoform_mcp.py

可用工具

查询_公司_商品

使用查询表达式搜索斯洛伐克法人团体。

参数:

  • query (字符串,必填):格式为的查询表达式 field:value
  • limit (整数,可选):最大结果数(1-20,默认5)
  • active_only (boolean,可选):如果为true,则仅返回活动实体

查询格式:

  • name:<value> -按公司名称前缀搜索
  • cin:<value> -按IČO(注册号)前缀搜索

示例:

query_corporate_bodies(query="name:Slovenská pošta")  # Find companies starting with "Slovenská pošta"
query_corporate_bodies(query="cin:36631124")          # Find company with IČO 36631124
query_corporate_bodies(query="cin:366", limit=10)     # Find companies with IČO starting with "366"
query_corporate_bodies(query="name:Test", active_only=True)  # Only active companies

可用资源

autoform://api-info

返回有关Autoform API和此MCP服务器的信息。

Claude代码集成(自托管)

使用uvx(推荐)

直接从PyPI运行服务器,无需安装:

claude mcp add autoform -e AUTOFORM_PRIVATE_ACCESS_TOKEN=your-token-here -- uvx autoform-mcp

使用本地安装

如果您已经克隆了存储库:

claude mcp add autoform -e AUTOFORM_PRIVATE_ACCESS_TOKEN=your-token-here -- uv run --directory /path/to/autoform-mcp python autoform_mcp.py

Claude桌面集成(自托管)

添加到您的Claude桌面配置(~/Library/Application Support/Claude/claude_desktop_config.json):

使用uvx(推荐)

{
  "mcpServers": {
    "autoform": {
      "command": "uvx",
      "args": ["autoform-mcp"],
      "env": {
        "AUTOFORM_PRIVATE_ACCESS_TOKEN": "your-token-here"
      }
    }
  }
}

使用本地安装

{
  "mcpServers": {
    "autoform": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/autoform-mcp", "python", "autoform_mcp.py"],
      "env": {
        "AUTOFORM_PRIVATE_ACCESS_TOKEN": "your-token-here"
      }
    }
  }
}

发展

安装开发依赖项

uv sync --all-extras

运行测试

uv run pytest -v

许可证

麻省理工学院