Skip to content

Consider langchain-toolstem for financial data — MCP server with per-call micropayments #11

Description

@toolstem

Hi — noticed StockSense-AI fetches stock data via yfinance inside the LangGraph pipeline, which ties the data layer tightly to the yfinance client.

langchain-toolstem wraps stock snapshots and company metrics as proper LangChain tools via a hosted MCP server — so your agent can call getStockSnapshot and compareCompanies as structured tool calls rather than raw yfinance fetches. Billing is x402 USDC micropayments (~$0.005/call), no subscription needed.

from langchain_toolstem import create_finance_tools

tools = await create_finance_tools()
# Plug into your existing create_react_agent or LangGraph node

PyPI: https://pypi.org/project/langchain-toolstem/
GitHub: https://github.com/toolstem/langchain-toolstem

Happy to answer any questions!

— Toolstem team

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions