LangChain tools for the Provenance Data Grid API. Query compliance data, business entities, healthcare providers, SEC financials, crypto prices, weather, and web content from your LangChain agents.
pip install pdg-langchain Authentication Set your API key as an environment variable:
export PDG_API_KEY="your-key-here" A free tier of 5 calls/day is available without an API key. Purchase credits at https://pdg.neprovenance.com/billing/plans.
from pdg_langchain import PDGSanctionsScreen tool = PDGSanctionsScreen() result = tool.invoke({"name": "John Smith"}) print(result) Use all tools with an agent from langchain_openai import ChatOpenAI from langgraph.prebuilt import create_react_agent from pdg_langchain import get_pdg_tools llm = ChatOpenAI(model="gpt-4o") tools = get_pdg_tools() agent = create_react_agent(llm, tools) response = agent.invoke( {"messages": [{"role": "user", "content": "Screen 'Acme Corp' against the OFAC sanctions list"}]} ) print(response["messages"][-1].content) Pass API key directly from pdg_langchain import get_pdg_tools tools = get_pdg_tools(api_key="your-key-here") Available tools Tool Endpoint Description PDGSanctionsScreen /sanctions/screen OFAC SDN screening -- fuzzy match against 19,596 sanctioned entities PDGEntitySearch /entity/search Business entity search across SEC, NPPES, and 5 state SOS databases PDGProviderSearch /provider/search Healthcare provider search -- 9.89M US providers by name, NPI, or specialty PDGCompanyFinancials /company/{cik}/financials SEC financial data: revenue, net income, assets, EPS from XBRL filings PDGCryptoPrice /price/crypto/{symbol} Crypto price, 24h change, volume, and market cap (100+ coins) PDGWebExtract /web/extract Extract a web page as clean, LLM-ready markdown PDGWebSearch /web/search Web search via Brave Search with structured results PDGWeather /weather/{lat},{lon} Current conditions and 48-hour forecast for any coordinates Tool parameters PDGSanctionsScreen
ai-agents compliance langchain nppes ofac sec x402
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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.
None of the files in this release were uploaded with provenance metadata.
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.
Nov 22, 2026 2 release files No provenance




