Skip to main content

agentdatahub

Free, no-key public data for AI agents. One tool set gives your LangChain, LlamaIndex or CrewAI agent official statistics, central bank rates, exchange rates, energy prices, weather and more:

  • Live answers to data questions: "inflation germany 2024", "250 usd to eur", "weather berlin tomorrow"
  • Full histories as compact CSV: World Bank indicators for every country since 1960, ECB exchange rates since 1999, Eurostat, ECB rates and bond yields, Statistics Canada, Destatis, German power prices
  • Every answer names its source, licence and data freshness, so the agent can cite it
  • Short answers (median ~500 tokens) instead of whole web pages
  • No API key, no signup. Free quota: 1,000 calls per day per IP.

Service: api.agentdatahub.de · Docs: api.agentdatahub.de/docs

Install

pip install agentdatahub                 # client only, no dependencies
pip install "agentdatahub[langchain]"    # + LangChain tools
pip install "agentdatahub[llamaindex]"   # + LlamaIndex tools
pip install "agentdatahub[crewai]"       # + CrewAI tools

LangChain

from langchain.agents import create_agent
from agentdatahub.langchain import get_tools

agent = create_agent("anthropic:claude-sonnet-5-5", tools=get_tools())
agent.invoke({"messages": [{"role": "user", "content": "How did inflation in Germany and Spain develop since 2015?"}]})

LlamaIndex

from llama_index.core.agent.workflow import FunctionAgent
from agentdatahub.llamaindex import get_tools

agent = FunctionAgent(tools=get_tools(), llm=llm)
response = await agent.run("What is the ECB deposit rate and when did it last change?")

CrewAI

from crewai import Agent
from agentdatahub.crewai import get_tools

analyst = Agent(role="Economic analyst", goal="Answer with sourced numbers", backstory="...", tools=get_tools())

The five tools

Tool What it does
agentdatahub_ask Plain-language data question → live data with source and licence
agentdatahub_search Search the endpoint catalog by keywords
agentdatahub_call Run one endpoint with parameters; bundles answer whole tasks in one call
agentdatahub_series Find series, or get a full time series as CSV (start, end, resample)
agentdatahub_history Recorded history of an endpoint's answers over time

Tools return compact text and report errors as text with the reason, so the agent can correct itself.

Plain Python

from agentdatahub import AgentDataHub

hub = AgentDataHub()
hub.ask("gdp per capita france")
hub.call("fx-currency-convert", {"from": "USD", "to": "EUR", "amount": 250})
hub.search_series("unemployment spain")
print(hub.get_series_csv("wb.FP.CPI.TOTL.ZG.DE", start="2015", end="2025"))

Other frameworks: agentdatahub.tools.make_tool_functions() returns the five tools as plain, typed Python functions.

MCP instead of a package

Clients that speak the Model Context Protocol (Claude, Cursor, VS Code ...) can connect directly: https://api.agentdatahub.de/mcp (Streamable HTTP, no authentication).

Data and licences

Data comes from openly licensed public sources (CC BY 4.0, CC0, public domain, official reuse terms such as Datenlizenz Deutschland or the ECB and Eurostat reuse policies). Each answer carries the source and licence; please attribute the source when you reuse the data. The service is provided without warranty, see the terms of use.

This package is MIT licensed.

Metadata

Release files for agentdatahub 0.1.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 agentdatahub 0.1.0
File Size Uploaded Provenance Actions
agentdatahub-0.1.0.tar.gz 13.7 kB Without provenance Details for agentdatahub-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 26.6 kB

Release files / agentdatahub-0.1.0.tar.gz

Download URL agentdatahub-0.1.0.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9d8f1cb2f712028772c42dd894895d0a935b44362467cfb1a8a5a5f3f688535a
BLAKE2b-256 checksum
How to use checksums
959942dd288f2c2badfe475367dab8caec013b2dae44d6c3ef2ec14a5da4cb86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Release files / agentdatahub-0.1.0-py3-none-any.whl

Download URL agentdatahub-0.1.0-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3af93869748b709c48cb03c88f527dfd6a8e1fca3222fbe15ad7236052bdb23
BLAKE2b-256 checksum
How to use checksums
55a37bff403ea2b904c71be137452a20f218d1eb91e20c32e32f24807c5fbe81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Security for agentdatahub 0.1.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.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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