Skip to main content

Autoform MCP Server

Model Context Protocol (MCP) server for the Autoform service from Slovensko.Digital based on the API documentation.

Author: @alhafoudh

Features

  • Search Slovak corporate bodies (companies, organizations) by name
  • Search by registration number (IČO/CIN)
  • Filter results to show only active (non-terminated) entities
  • Returns detailed company information including addresses and tax IDs

Quick Start (Hosted Version)

The easiest way to use Autoform MCP is through our hosted version at https://autoform.fastmcp.app/mcp using Streamable HTTP mode. No installation required.

Getting Your API Token

To use the Autoform API, you need a private access token:

  1. Register for paid access at Slovensko.Digital Autoform
  2. After registration, you'll receive your private access token

Authentication

Pass your Autoform API token using one of these methods (in priority order):

  1. Authorization header (recommended): Authorization: Bearer <token>
  2. Custom header: x-autoform-private-access-token: <token>

Privacy Notice

Your tokens are safe with us. We take privacy seriously:

  • Your API tokens are never stored on our servers
  • Tokens are only used to authenticate requests to the Autoform API on your behalf
  • We do not log, track, or exploit your credentials in any way
  • All communication is encrypted via HTTPS

Claude Code Integration (Hosted)

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

Claude Desktop Integration (Hosted)

Add to your Claude Desktop config (~/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 Integration (Hosted)

You can use the Autoform MCP server in Make.com (formerly Integromat) using the MCP Client - Call a tool app:

  1. Add the MCP Client - Call a tool module to your scenario
  2. Create a new MCP server connection with these settings:
  3. Select the query_corporate_bodies tool and configure your query parameters

Self-Hosted Installation

From PyPI (recommended)

pip install autoform-mcp

Or using uvx to run directly without installation:

uvx autoform-mcp

From source

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

# Install dependencies
uv sync

Configuration

Set the AUTOFORM_PRIVATE_ACCESS_TOKEN environment variable with your API token from Slovensko.Digital.

export AUTOFORM_PRIVATE_ACCESS_TOKEN="your-token-here"

Usage

Run the MCP server (STDIO transport)

# If installed from PyPI
autoform-mcp

# Or using uvx
uvx autoform-mcp

# Or from source
uv run python autoform_mcp.py

Run with FastMCP CLI

uv run fastmcp run autoform_mcp.py

Inspect available tools

uv run fastmcp inspect autoform_mcp.py

Development mode with MCP Inspector

uv run fastmcp dev autoform_mcp.py

Available Tools

query_corporate_bodies

Search Slovak corporate bodies using a query expression.

Parameters:

  • query (string, required): Query expression in format field:value
  • limit (integer, optional): Maximum number of results (1-20, default 5)
  • active_only (boolean, optional): If true, return only active entities

Query format:

  • name:<value> - Search by company name prefix
  • cin:<value> - Search by IČO (registration number) prefix

Examples:

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

Available Resources

autoform://api-info

Returns information about the Autoform API and this MCP server.

Claude Code Integration (Self-Hosted)

Using uvx (recommended)

Run the server directly from PyPI without installation:

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

Using local installation

If you've cloned the repository:

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

Claude Desktop Integration (Self-Hosted)

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

Using uvx (recommended)

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

Using local installation

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

Development

Install dev dependencies

uv sync --all-extras

Run tests

uv run pytest -v

License

MIT

Metadata

Release files for autoform-mcp 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autoform-mcp 0.1.8
File Size Uploaded Provenance
autoform_mcp-0.1.8.tar.gz 7.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for autoform-mcp 0.1.8
File Interpreter ABI Platform
autoform_mcp-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 15.1 kB

Release files / autoform_mcp-0.1.8.tar.gz

Download URL autoform_mcp-0.1.8.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f3dfdbf6d0fbbeacff35d1da8babf78ccee4964d62a4695ecdb5a345bcdcbce1
BLAKE2b-256 checksum
How to use checksums
2822a105d71d35c2230aa8c9c6347902617e50e8034dedcd8840fb033c484869
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / autoform_mcp-0.1.8-py3-none-any.whl

Download URL autoform_mcp-0.1.8-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cdc9d039d8e46f875b285385fc022b00a4bc10131bfe035b8f134b0238b4ba6e
BLAKE2b-256 checksum
How to use checksums
7e92eac985d61dfb723ee5cbba869ab401cfecf5bfef7b53c384072d28001f94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for autoform-mcp 0.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page