I wrote a zero-dependency CLI client for SEC EDGAR

hi, I've spent the last couple weeks building a Swift library for pulling SEC filing data - 13F portfolios, XBRL financials, insider trades, fund holdings. Open-sourced it. Foundation-only, no dependencies. Suitable for any agent workflow

CLI

Query SEC EDGAR from your terminal.

Install

brew tap ElveanApp/tap
brew install edgar

Or build from source:

swift build -c release
cp .build/release/edgar /usr/local/bin/

Usage

$ edgar portfolio BRK-B
BERKSHIRE HATHAWAY INC — 13F Portfolio
Filing: 2026-05-15
Name                           Shares   Value (k$)     Ticker     Type
AMERICAN EXPRESS CO            14906104 $4508798489       AXP      COM
COCA COLA CO                   28272272 $2150106354        KO      COM
...

$ edgar financial AAPL Revenues
$ edgar insider MSFT
$ edgar 8k GOOGL
$ edgar search NVIDIA
$ edgar fund VOO
github.com
u/Conscious-Track5313 — 25 days ago
▲ 2 r/swift

I open-sourced a native Swift client for SEC EDGAR - zero dependencies, async/await, actors for rate limiting

https://github.com/ElveanApp/swift-edgar

Initially built this for my app and then figured it'd be more useful as a standalone thing anyone can use. It's a Swift library + CLI for pulling SEC data -13F portfolios, XBRL, financials, insider trades, 8-K events, fund holdings, the works. Zero dependencies, just Foundation.

A couple things I'm actually happy with: the HTTP client is an actor that handles SEC rate limiting (they cap you at 10 req/sec, so it self-throttles via Task.sleep), and the 13F/Form 4/N-PORT XML parsing is all native Foundation.XMLParser. No external dependencies . Just delegates and a bit of patience.

Also ships as a single-binary CLI — if you're into that:

brew tap ElveanApp/tap && brew install edgar

edgar portfolio BRK-B

edgar search NVIDIA

Would love feedback

reddit.com
u/Conscious-Track5313 — 27 days ago

Ultimate travel planning with google flights and AirBnB CLIs running inside linux container on Mac

What's supported:

  • full fledged google flights search and airbnb search, you get results with weblinks for booking
  • web search + image search
  • Apple Maps & WeatherKit integration
  • Apple Calendar integration
youtube.com
u/Conscious-Track5313 — 29 days ago
▲ 7 r/AI_travel_tips+3 crossposts

Ultimate travel planning with DeepSeek-v4-flash + google-flights -cli + airbnb-cli + websearch

all CLI tools running inside sandboxed linux container on Mac which is exposed as a tool for LLM

u/Conscious-Track5313 — 29 days ago

Running Linux sandbox as tool for AI models on Mac - no Docker, no remote VMs, all inside single app

How it works:

- I'm using Apple's new Containerization framework (open source, shipped with macOS 26) - spins up an Alpine Linux VM in ~6 seconds

- The LLM gets a run_command tool - it can install dependencies, run scripts, compile code, whatever it needs

- There's also a real interactive terminal (SwiftTerm + PTY) so you can jump in alongside the AI — Ctrl+C, vim, top, all work

- Container state persists between sessions - packages you install survive restarts

- The project's workspace folder is mounted at /workspace, so the AI and terminal share the same files

- Total overhead: ~37MB RAM for the sandbox service + ~540MB for the VM process

Curious if anyone else is doing something similar with local sandboxed execution for agents. Most solutions I've seen use Docker or remote VMs - this runs entirely on-device with no dependencies.

youtube.com
u/Conscious-Track5313 — 2 months ago
▲ 66 r/LLMDevs+1 crossposts

Local Linux sandbox for AI agents on macOS - no Docker, no remote VMs, all inside single native app

Hello, I've been building Elvean - native MacOS AI client app that connects to any OpenAI-compatible provider. Recently added a feature I'm pretty excited about:

a full Linux sandbox that AI agents can use to run commands, install packages, and execute code - all inside a lightweight VM on your Mac.

Here is video where AI runs flight-goat-pp-cli — a Go-based CLI for flight ticket searching

from sandbox after installing it directly from github.

How it works:

- Uses Apple's new Containerization framework (open source, shipped with macOS 26) — spins up an Alpine Linux VM in ~6 seconds

- The LLM gets a run_command tool — it can install dependencies, run scripts, compile code, whatever it needs

- There's also a real interactive terminal (SwiftTerm + PTY) so you can jump in alongside the AI — Ctrl+C, vim, top, all work

- Container state persists between sessions — packages you install survive restarts

- The project's workspace folder is mounted at /workspace, so the AI and terminal share the same files

- Total overhead: ~37MB RAM for the sandbox service + ~540MB for the VM process

Curious if anyone else is doing something similar with local sandboxed execution for agents. Most solutions I've seen use Docker or remote VMs - this runs entirely on-device with no dependencies.

u/Conscious-Track5313 — 2 months ago

AI Equity research on Mac

I've been working on connecting financial data sources through MCP,
I connected Yahoo Finance MCP + EODHD MCP to a native Mac app I'm building. The model pulls earnings data, renders interactive tradingview + other popular forms of charts, builds sortable tables — all in one conversation.

Added SEC EDGAR as a built-in tool so it can query 10-K/10-Q filings directly. Combined with web search and yahoo-finance-mcp it handles most of what I used to do across 6 browser tabs by running multi-step agentic loop.

The part I'm most excited about: a Knowledge Base that auto-distills key findings from each conversation into an Obsidian style folder with .md files. So when I come back to research the same company later, the model already has context from my previous work.

Full walkthrough with screenshots: https://elvean.app/blog/ai-equity-research-mac/

MCP servers used:

- yahoo-finance-mcp (local, STDIO)

- EODHD (remote, OAuth)

- Financial Datasets (remote, OAuth)

For UI I'm using TradingView and Charts.js

Curious if anyone else is building with MCP for financial workflows — the combination of structured data + rich rendering + agentic chaining feels like it unlocks a lot.

u/Conscious-Track5313 — 2 months ago

Been working on connecting financial data sources through MCP,
I connected Yahoo Finance MCP + EODHD MCP to a native Mac app I'm building. The model pulls earnings data, renders interactive tradingview + other popular forms of charts, builds sortable tables — all in one conversation.

Added SEC EDGAR as a built-in tool so it can query 10-K/10-Q filings directly. Combined with web search and yahoo-finance-mcp it handles most of what I used to do across 6 browser tabs by running multi-step agentic loop.

The part I'm most excited about: a Knowledge Base that auto-distills key findings from each conversation into an Obsidian style folder with .md files. So when I come back to research the same company later, the model already has context from my previous work.

Full walkthrough with screenshots: https://elvean.app/blog/ai-equity-research-mac/

MCP servers used:

- yahoo-finance-mcp (local, STDIO)

- EODHD (remote, OAuth)

- Financial Datasets (remote, OAuth)

For UI I'm using TradingView and Charts.js

Curious if anyone else is building with MCP for financial workflows — the combination of structured data + rich rendering + agentic chaining feels like it unlocks a lot.

u/Conscious-Track5313 — 2 months ago

I connected Yahoo Finance MCP + EODHD MCP (77 tools, OAuth) to a native Mac app I'm building. The model pulls earnings data, renders interactive tradingview + other popular forms of charts, builds sortable tables — all in one conversation.

Added SEC EDGAR as a built-in tool so it can query 10-K/10-Q filings directly. Combined with web search and yahoo-finance-mcp it handles most of what I used to do across 6 browser tabs by running multi-step agentic loop.

The part I'm most excited about: a Knowledge Base that auto-distills key findings from each conversation into an Obsidian style folder with .md files. So when I come back to research the same company later, the model already has context from my previous work.

Full walkthrough with screenshots: https://elvean.app/blog/ai-equity-research-mac/

MCP servers used:

- yahoo-finance-mcp (local, STDIO)

- EODHD (remote, OAuth)

- Financial Datasets (remote, OAuth)

u/Conscious-Track5313 — 2 months ago
▲ 4 r/ai_trading+1 crossposts

I connected Yahoo Finance MCP + EODHD MCP (77 tools, OAuth) to a native Mac app I'm building. The model pulls earnings data, renders tradingview charts, and builds sortable tables — all in one conversation.

Added SEC EDGAR as a built-in tool so it can query 10-K/10-Q filings directly. Combined with web search and yahoo-finance-mcp it handles most of what I used to do across 6 browser tabs.

The part I'm most excited about: a Knowledge Base that auto-distills key findings from each conversation into an Obsidian style folder with .md files. So when I come back to research the same company later, the model already has context from my previous work.

Full walkthrough with screenshots: https://elvean.app/blog/ai-equity-research-mac/

MCP servers used:

- yahoo-finance-mcp (local, STDIO)

- EODHD (remote, OAuth)

- Financial Datasets (remote, OAuth)

u/Conscious-Track5313 — 11 hours ago
▲ 1 r/mcp

I connected Yahoo Finance MCP + EODHD MCP (77 tools, OAuth) to a native Mac app I'm building. The model pulls earnings data, renders candlestick charts, and builds sortable tables — all in one conversation.

Added SEC EDGAR as a built-in tool so it can query 10-K/10-Q filings directly. Combined with web search, it handles most of what I used to do across 6 browser tabs.

The part I'm most excited about: a Knowledge Base that auto-distills key findings from each conversation into an Obsidian style folder with .md files. So when I come back to research the same company later, the model already has context from my previous work.

Full walkthrough with screenshots: https://elvean.app/blog/ai-equity-research-mac/

MCP servers used:

- yahoo-finance-mcp (local, STDIO)

- EODHD (remote, OAuth)

- Financial Datasets (remote, OAuth)

u/Conscious-Track5313 — 2 months ago

Seems like the hype is trending down, reminds me the clubhouse. Peter showed the masterclass on how to cash out at the top.

u/Conscious-Track5313 — 2 months ago