Skip to main content

LlamaIndex Tools Integration: ETFIQ

ETFIQ's free ETF data as LlamaIndex tools. No API key.

from llama_index.tools.etfiq import EtfiqToolSpec

spec = EtfiqToolSpec()
print(spec.flows("SPY"))   # JSON: money in and out, 1D to 1Y, each record dated

Source: ETFIQ (etfiq.com), data as of the date in each record's as_of. Keep the record's attribution line when you reuse it.

Install

pip install llama-index-tools-etfiq

Use with an agent

from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI

agent = FunctionAgent(tools=EtfiqToolSpec().to_tool_list(), llm=OpenAI(model="gpt-4.1"))
await agent.run("Compare SPY and VOO on fee and one-year return. Give the date.")

Tools

search, profile, holdings, flows, compare, screen. Each returns a JSON string of records with as_of, source_url and attribution. A fund ETFIQ does not cover returns an {"error": ...} record, not an exception.

ETFIQ's MCP server (33 tools) is also open: https://mcp.etfiq.com/mcp, usable with llama-index-tools-mcp.

Licence and terms

Code: MIT. ETFIQ's computed data is open with attribution, see https://etfiq.com/license/. Holdings are issuer-published and stay under the issuer's terms; each record says so. Requests are paced at 2 a second with User-Agent: etfiq-llamaindex/0.1.0 (data@etfiq.com).

Tests

pip install -e . pytest && pytest tests

The tests read the live files at https://etfiq.com/data/.

Metadata

Release files for llama-index-tools-etfiq 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 llama-index-tools-etfiq 0.1.0
File Size Uploaded Provenance Actions
llama_index_tools_etfiq-0.1.0.tar.gz 5.9 kB With provenance Details for llama_index_tools_etfiq-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-tools-etfiq 0.1.0
File Interpreter ABI Platform Actions
llama_index_tools_etfiq-0.1.0-py3-none-any.whl Python 3 none any Details for llama_index_tools_etfiq-0.1.0-py3-none-any.whl

Total release size: 13.2 kB

Release files / llama_index_tools_etfiq-0.1.0.tar.gz

Download URL llama_index_tools_etfiq-0.1.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a8f37ffa71b7958fe2ff1872da27a7984c5f200185a13c88e34e5c0a7a463ad1
BLAKE2b-256 checksum
How to use checksums
251c2e587690b7e8ca9c02ab796b9e4962833d8e4f45802b08dd89fed20d04df
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 3, 2026.

Transparency log

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

Download URL llama_index_tools_etfiq-0.1.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
861be08da431a6945c3bea013108c26b0f0f22597bd58e7fecddce6423bfcda3
BLAKE2b-256 checksum
How to use checksums
9a8931469ebc8bf413c90268c96899b5e87e90c4b525f9a5e318e587805d3c40
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 3, 2026.

Transparency log

Security for llama-index-tools-etfiq 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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for llama_index_tools_etfiq-0.1.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 3, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full 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