Skip to main content

alion

The official Python client for Alion: a live graph of companies worldwide (what each one does, where it operates, its tech stack, funding rounds and investors, how fast it hires), startup investors, verified job postings with hiring and pay statistics, and people open to offers.

Every tool of the Alion MCP server is a typed method, sync or async. Python 3.9+. It uses only the standard library (plus typing_extensions before 3.11).

pip install alion

Free without a key

from alion import Alion

alion = Alion()  # no key: the open address, free within a daily allowance

companies = alion.search_companies(industry="Fintech", country="DE", startup=True, funding_stage="early", limit=10)
for c in companies["items"]:
    print(c["name"], c["domain"])

match = alion.resolve_company(domain="stripe.com")["match"]
jobs = alion.search_jobs(query="data engineer", country="PL", work_mode="remote")

Without a key you get compact company, investor and job searches, lookalike companies, full job postings, the people tools and the agent tools. The allowance is 300 calls a day per network, 30 a minute, and up to 20 rows per list.

Everything with a key

Create a key at alion.io/developers/keys and pass it, or set ALION_API_KEY:

alion = Alion(api_key="...")

stripe = alion.get_company(domain="stripe.com")          # funding, hiring, stack, offices, visa
pay = alion.market_stats(role="Backend Developer", country="US")
fund = alion.get_investor(domain="sequoiacap.com")

Calls with a key are paid from your account's credits. Prices are at alion.io/developers.

Async

from alion import AsyncAlion

async with AsyncAlion() as alion:
    jobs = await alion.search_jobs(query="rust", country="DE")

Paging

for company in alion.paginate("search_companies", technology="Snowflake", hiring=True, max_items=50):
    print(company["name"])

The server stops a search at row 100. Narrow the filters to reach further.

Errors

Every failure is an AlionError with a machine-readable code:

from alion import AlionError

try:
    alion.get_company(domain="stripe.com")
except AlionError as e:
    e.code           # "account_required", "invalid_params", "rate_limited", "unauthorized", "timeout", ...
    e.needs_account  # True when the tool needs a key or a payment
    e.data           # the server's full answer: hints, free_tools, examples

Rate limits (429), network errors and server errors on read-only tools are retried twice with backoff by default.

Options

Alion(
    api_key="...",            # default: ALION_API_KEY; "" forces the open address
    app_name="my-agent/1.0",  # added to the User-Agent so Alion can tell your agent apart
    timeout=60.0,
    max_retries=2,
    headers={...},            # extra headers on every call
    transport=my_transport,   # (url, headers, body, timeout) -> (status, headers, text), e.g. over httpx or requests
)

Any tool can also be called by name, including tools added to the server after this release:

alion.call("check_counterparty", {"target": "acme.com"})
alion.list_tools()  # names, descriptions, input and output schemas

Tools

Method What it does
search_companies Companies by industry, country, size, founding year, startup, funding stage, investor, technology, ATS, hiring and growth level
similar_companies Lookalikes of a company
get_company One company in depth: funding, hiring, stack, offices, visa sponsorship; slices= adds more (money, ownership, record, financials, patents and trials, competitors, Buying windows...), slices="summary" lists what holds data and its price
get_company_money, get_company_ownership, get_company_record Money in and out with a source on every row; owners, legal entities and subsidiaries; the public record for a counterparty check
search_company_events What changed at companies: rounds, new offices, leadership hires, launches, Buying windows (also watch_search(kind="events", deliver="webhook"))
search_contracts Public contracts and tenders: won by a company, put out by a buyer, ending soon
resolve_company Which company a name, a domain or a registration number (LEI, CIK, VAT...) means
search_investors, get_investor Funds, accelerators and angels: what they back, at which stage, how active now
search_jobs, get_job Verified job postings
market_stats Demand, pay percentiles, top employers and technologies of a role in a country
search_people, match_people, similar_people, get_person, check_fit People open to offers
send_message, get_conversation, list_conversations Write to people in Alion messages
watch_search, check_watch, list_watches, delete_watch, set_webhook Follow a search for new results
check_counterparty, check_employer, contact_company Check a company or an agent, write to a company
register_agent, get_agent, agent_status, report_problem Your agent on Alion

Every argument is typed (alion.types), so your editor completes them and mypy or pyright check them.

For AI agents

To give a model these tools directly, connect the MCP server instead of wrapping methods yourself:

  • remote clients (Claude, ChatGPT, Cursor, VS Code, the OpenAI Agents SDK, LangChain's langchain-mcp-adapters): https://alion.io/mcp/open without an account, https://alion.io/mcp with one;
  • clients that start a local command: npx -y @alion-io/mcp.

Metadata

Release files for alion 0.2.0

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

Source distribution (sdist)

Source distribution for alion 0.2.0
File Size Uploaded Provenance Actions
alion-0.2.0.tar.gz 53.8 kB With provenance Details for alion-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for alion 0.2.0
File Interpreter ABI Platform Actions
alion-0.2.0-py3-none-any.whl Python 3 none any Details for alion-0.2.0-py3-none-any.whl

Total release size: 107.3 kB

Release files / alion-0.2.0.tar.gz

Download URL alion-0.2.0.tar.gz
Size 53.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5779b3d9ddee2c82a701c2886ec6576abd3f26e5a3b8180ecfea5c4bafb25f42
BLAKE2b-256 checksum
How to use checksums
2a6afb723c7865c44b5ada13469a3d99036abc8bc01882ae96fd1f7d1b82adf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / alion-0.2.0-py3-none-any.whl

Download URL alion-0.2.0-py3-none-any.whl
Size 53.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eac0d37e4d080d747ab42895aa3de6418c0fe706c5e070ab0764b71403e95d40
BLAKE2b-256 checksum
How to use checksums
0bdac9f88c5f20e04f55a5d9c2215775cfcab6823f00e065dca605b33918ac2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for alion 0.2.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for alion-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

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