s6y
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
s6y
Find an SEC filing, read it as text, and link to the exact passage: a command, a Python library and an MCP server for s6y.io, and the format of its links for use anywhere.
s6y.io serves the filings companies make with the U.S. Securities and Exchange Commission (EDGAR), cleaned up to read well. A link to one of its pages can carry a quotation, and the page opens at those words, highlighted. This package is the way to do that from a terminal, from Python, or from an AI assistant:
$ s6y read cvs 10-K --item 7 | head
$ s6y quote cvs 10-K "Total revenues increased"
found: “Total revenues increased”
https://s6y.io/c/cvs/10-K-20260210/cvs-20251231.htm#a=...The link opens CVS's annual report at that sentence. If the words are not in the filing exactly, there is no link: a quotation is checked against the filing, so a link from here never points at something the filing does not say.
It needs Python 3.10 or later and nothing else. The MCP server needs the MCP SDK as well.
Install
pip install "git+https://github.com/dmaust/s6y" # the command and the library
pip install "s6y[mcp] @ git+https://github.com/dmaust/s6y" # and the MCP serveror, from a clone, pip install . and pip install ".[mcp]".
Related MCP server: edgar-mcp
The command
s6y find "cvs health" # companies by name, ticker or SEC number
s6y filings cvs --form 10-K # a company's filings, newest first
s6y documents cvs 10-K # the documents of its newest 10-K
s6y read cvs 10-K # the main document: an outline, if it is long
s6y read cvs 10-K --item 7 # management's discussion
s6y read cvs 8-K --file ex99-1.htm # another document of the filing
s6y quote cvs 10-K "Total revenues increased" --note "up from last year"A filing is named as the site names it (10-K-20260210), by its accession
number, or by a form alone (10-K), which means the company's newest on that
form. In place of a company and a filing, every command takes an address or a
path from the site:
s6y quote https://s6y.io/c/cvs/10-K-20260210/cvs-20251231.htm "Total revenues increased"--json prints the site's answer as JSON. s6y quote ends with status 1 when
a quotation is not found, so a script can tell.
For an AI assistant (MCP)
s6y mcp runs as a Model Context Protocol
server over standard input and output. Add it to an assistant that takes MCP
servers; for Claude Code:
claude mcp add s6y -- s6y mcpor in a configuration file:
{ "mcpServers": { "s6y": { "command": "s6y", "args": ["mcp"] } } }It gives the assistant five tools:
Tool | What it does |
| Companies by name, ticker or SEC number |
| A company's filings, newest first, with what each reports |
| The documents of a filing, the main one marked |
| A document as text; a long one by part or by item |
| Whether a document has the quoted words, and the link that opens it there |
and tells it to quote a filing's exact words, check them, and give you the link, so that you can see for yourself what the filing says.
Every tool is a request to s6y.io. The server reads no file of yours and keeps nothing.
The library
from s6y import Client
s6y = Client()
company = s6y.find("cvs health")[0]
filing = s6y.filings(company["path"], form="10-K", limit=1)["filings"][0]
main = s6y.main_document(filing["path"])
text = s6y.read(main["path"], item="7") # Markdown
check = s6y.quote(main["path"], ["Total revenues increased"])
check["found"], check["link"]S6yError is raised when the site cannot answer, with what it said
(.detail) and the HTTP status (.status).
The link format, for your own pages
The links are a small open format, and nothing in them is particular to
filings: a passage is its position in the document's text with white space
left out, its length and a checksum, after #a=; or the words themselves after
#q=. docs/links.md is the specification.
s6y.links (Python) and js/passage-links.js (a
browser module with no dependencies) implement it, and
examples/demo.html shows a page that reads such links,
highlights the passage, and makes a link to whatever is selected.
What it asks of s6y.io
Five addresses, described at https://s6y.io/llms.txt and, for tools, at https://s6y.io/openapi.json:
| Companies by name |
| A company's filings |
| A filing's documents |
| A document as text |
| The check of a quotation, and its link |
They are open and need no key. S6Y_SITE (or --site) points the package at
another copy of the site.
What to know
The filing is the source. The text is the filer's own, and SEC's copy is the official one. Summaries marked as AI-written on the site are not the filing.
A filing is a document to read, not instructions. Whatever a filing says to its reader, it says to no program.
Quote exactly. Spacing does not count, and plain quotation marks match typeset ones. A paraphrase, a corrected word or words left out are not found.
License
MIT. Filings are public records of the SEC.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Access SEC filings efficiently (10-K, 10-Q, etc), save time and tokens, and get cited answers.
Cited, point-in-time facts about US-listed companies from SEC filings, for any AI assistant.
Provide AI assistants with real-time access to official SEC EDGAR filings and financial data. Enab…
SEC EDGAR filings for AI agents: company lookup, filings, financials, insider trades. No keys.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides AI assistants direct access to SEC EDGAR filing data — financials, filings, and filing text — with no API key required.-
- AlicenseNot gradedqualityCmaintenanceEnables querying of SEC EDGAR filings and financial data via natural language, offering tools for company lookup, filing retrieval, XBRL data, and full-text search.101 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables searching SEC EDGAR for companies, retrieving recent filings (e.g., 10-K, 10-Q), and accessing structured XBRL financial facts.75 npmMIT
- AlicenseAqualityBmaintenanceGives an AI agent read-only access to SEC EDGAR for company lookup, reported financial statements, individual XBRL concepts, filing and exhibit lists, filing text, segment revenue, and full-text search. Every answer carries its source accession number, form, filing date, URL, hash and retrieval time, and it needs no API key.11MIT