Skip to content
LangChain

WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP for LangChain

io.github.123mason123/weightedshares-mcp

Free SEC EDGAR XBRL data for U.S. stock buybacks, SBC, True FCF, Form 4, and 13F dilution audits.

client:LangChain transport:streamable-http tools:5

Install WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "weightedshares-mcp": {
            "transport": "streamable_http",
            "url": "https://weightedshares.com/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

What LangChain can do once it is connected

WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP in other clients