1. Conduid
  2. Developer Tools
  3. Sec Edgar Agentkit
MCP server · Developer Tools

Sec Edgar Agentkit

AI agent toolkit for accessing and analyzing SEC EDGAR filing data. Build intelligent agents with LangChain, MCP-use, Gradio, Dify, and smolagents to analyze financial statements, insider trading, and company filings.

57Fair

Scored 5 hours ago · breakdown

About Sec Edgar Agentkit

Sec Edgar Agentkit is an MCP server published by stefanoamorelli in the Developer Tools category: aI agent toolkit for accessing and analyzing SEC EDGAR filing data. Build intelligent agents with LangChain, MCP-use, Gradio, Dify, and smolagents to analyze financial statements, insider trading, and company filings. It has been installed 0 times through Conduid.

The repository has 10 stars and 1 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx sec-edgar-agentkit

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Sec Edgar Agentkit

Powered by Claude · Grounded in docs

I know everything about Sec Edgar Agentkit. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.1.0SEC EDGAR Agent Kit v0.1.0 · 10 Aug 2025🎉 Initial Release This is the first public release of SEC EDGAR Agent Kit, a multi-framework toolkit for building AI agents that can access and analyze SEC EDGAR filing data. 📦 Published Packages NPM Packages…

README

SEC EDGAR Agent Kit

A multi-framework monorepo toolkit for building AI agents and applications that can access and analyze SEC EDGAR filing data. Built on top of the sec-edgar-mcp Model Context Protocol server.

This monorepo contains multiple packages and integrations, each optimized for different AI agent frameworks and use cases.

Supported Frameworks

Features

  • Company information: Look up CIKs, retrieve company details, and access company facts
  • Filing search & analysis: Search for filings, extract content, and analyze 8-K reports
  • Financial data: Extract financial statements and parse XBRL data with precision
  • Insider trading: Analyze Forms 3, 4, and 5 for insider transaction data
  • LangChain integration: Seamless integration with LangChain agents and chains

Installation

This monorepo is organized using modern tooling and contains multiple packages. You can install individual packages from npm:

Install individual packages

# LangChain toolkit
npm install @sec-edgar-agentkit/langchain

# MCP-use natural language interface
npm install @sec-edgar-agentkit/mcp-use

# smolagents Python package
pip install sec-edgar-agentkit-smolagents

Gradio and Dify

For Gradio and Dify setup instructions, see their respective documentation:

Development setup

# Clone the repository
git clone https://github.com/stefanoamorelli/sec-edgar-agentkit
cd sec-edgar-agentkit

# Install all dependencies (monorepo)
bun install

# Build all packages
bun run build

Prerequisites:

  • Bun (for TypeScript/JavaScript development)
  • Python 3.8+ (for Gradio interface)
  • sec-edgar-mcp server: pip install sec-edgar-mcp

Quick start

LangChain

import { SECEdgarAgentToolkit } from './integrations/langchain';

const toolkit = new SECEdgarAgentToolkit({
  mcpServerUrl: 'sec-edgar-mcp',
  configuration: {
    actions: {
      companies: { lookupCIK: true, getInfo: true },
      filings: { search: true, getContent: true },
    }
  }
});

const tools = toolkit.getTools();
// Use with any LangChain agent

MCP-use

import { agent, analyzeFinancials } from './integrations/mcp-use';

// Simple function calls
const appleInfo = await agent.use("Look up Apple's latest 10-K filing");
const analysis = await analyzeFinancials('AAPL', 3);

Gradio interface

# Run the Gradio interface
cd integrations/gradio
./run.sh
# Access at http://localhost:7860

# Or manually:
pip install -r requirements.txt
python app.py

Configuration

Available actions

{
  actions: {
    companies: {
      lookupCIK: boolean,      // CIK lookup by name/ticker
      getInfo: boolean,        // Company information
      getFacts: boolean,       // XBRL company facts
    },
    filings: {
      search: boolean,         // Search filings
      getContent: boolean,     // Extract filing content
      analyze8K: boolean,      // Analyze 8-K reports
      extractSection: boolean, // Extract specific sections
    },
    financial: {
      getStatements: boolean,  // Financial statements
      parseXBRL: boolean,      // XBRL data parsing
    },
    insiderTrading: {
      analyzeTransactions: boolean, // Forms 3/4/5 analysis
    }
  }
}

Available tools

Company tools

  • sec_edgar_cik_lookup: Look up a company's CIK by name or ticker
  • sec_edgar_company_info: Get detailed company information
  • sec_edgar_company_facts: Retrieve XBRL company facts

Filing tools

  • sec_edgar_filing_search: Search for filings with filters
  • sec_edgar_filing_content: Extract filing content
  • sec_edgar_analyze_8k: Analyze 8-K reports

Financial tools

  • sec_edgar_financial_statements: Extract financial statements
  • sec_edgar_xbrl_parse: Parse XBRL data for precise values

Insider trading tools

  • sec_edgar_insider_trading: Analyze insider transactions

Examples

Basic company analysis

const result = await executor.invoke({
  input: "Find Microsoft's CIK and get their latest 10-K filing summary"
});

Financial analysis

const result = await executor.invoke({
  input: "Compare Apple's revenue growth over the last 3 years using their 10-K filings"
});

Insider trading analysis

const result = await executor.invoke({
  input: "Show me insider selling activity for Tesla in the last quarter"
});

Framework-specific examples

LangChain - Complex agent

import { SECEdgarAgentToolkit } from './integrations/langchain';
import { ChatOpenAI } from '@langchain/openai';
import { AgentExecutor, createStructuredChatAgent } from 'langchain/agents';

const toolkit = new SECEdgarAgentToolkit({
  mcpServerUrl: 'sec-edgar-mcp',
  configuration: {
    actions: {
      companies: { lookupCIK: true, getInfo: true },
      filings: { search: true, analyze8K: true },
      financial: { getStatements: true, parseXBRL: true },
    }
  }
});

const agent = await createStructuredChatAgent({
  llm: new ChatOpenAI({ modelName: 'gpt-4' }),
  tools: toolkit.getTools(),
  prompt: ChatPromptTemplate.fromMessages([
    ['system', 'You are a financial analyst with access to SEC EDGAR data.'],
    ['human', '{input}'],
    ['assistant', '{agent_scratchpad}']
  ])
});

const executor = new AgentExecutor({ agent, tools: toolkit.getTools() });
const result = await executor.invoke({
  input: "Compare Apple and Microsoft's revenue growth over the last 3 years"
});

MCP-use - Simple queries

import { agent } from './mcp-use';

// Natural language queries
const result = await agent.use(`
  Find Tesla's latest 8-K filing and summarize any material events.
  Also show me their insider trading activity for the past month.
`);

console.log(result);

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

© 2025 Stefano Amorelli

This open-source project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). This means:

  • You can use, modify, and distribute this software
  • If you modify and distribute it, you must release your changes under AGPL-3.0
  • If you run a modified version on a server, you must provide the source code to users
  • See the LICENSE file for full details

For commercial licensing options or other licensing inquiries, please contact stefano@amorelli.tech.

Author: Stefano Amorelli

README mirrored from the source repository 5 hours ago. The original is authoritative.

Questions

About Sec Edgar Agentkit

How do I install Sec Edgar Agentkit?

Run npx sec-edgar-agentkit, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Sec Edgar Agentkit safe to use with an AI agent?

Its trust score is 57 out of 100 (fair). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Sec Edgar Agentkit still maintained?

The last commit was a year ago, with 0 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.