filingexplorer-mcp 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- filingexplorer_mcp-0.1.0/.githooks/commit-msg +3 -0
- filingexplorer_mcp-0.1.0/.githooks/pre-commit +3 -0
- filingexplorer_mcp-0.1.0/.githooks/pre-push +37 -0
- filingexplorer_mcp-0.1.0/.github/pull_request_template.md +17 -0
- filingexplorer_mcp-0.1.0/.github/workflows/ci.yml +29 -0
- filingexplorer_mcp-0.1.0/.github/workflows/release.yml +83 -0
- filingexplorer_mcp-0.1.0/.github/workflows/scrub.yml +61 -0
- filingexplorer_mcp-0.1.0/.gitignore +11 -0
- filingexplorer_mcp-0.1.0/CHANGELOG.md +18 -0
- filingexplorer_mcp-0.1.0/CONTRIBUTING.md +55 -0
- filingexplorer_mcp-0.1.0/LICENSE +177 -0
- filingexplorer_mcp-0.1.0/NOTICE +10 -0
- filingexplorer_mcp-0.1.0/PKG-INFO +169 -0
- filingexplorer_mcp-0.1.0/README.md +144 -0
- filingexplorer_mcp-0.1.0/SECURITY.md +25 -0
- filingexplorer_mcp-0.1.0/pyproject.toml +59 -0
- filingexplorer_mcp-0.1.0/scripts/install-hooks.sh +7 -0
- filingexplorer_mcp-0.1.0/scripts/scrub_check.py +374 -0
- filingexplorer_mcp-0.1.0/src/filingexplorer_mcp/__init__.py +3 -0
- filingexplorer_mcp-0.1.0/src/filingexplorer_mcp/__main__.py +4 -0
- filingexplorer_mcp-0.1.0/src/filingexplorer_mcp/client.py +174 -0
- filingexplorer_mcp-0.1.0/src/filingexplorer_mcp/formatting.py +129 -0
- filingexplorer_mcp-0.1.0/src/filingexplorer_mcp/server.py +1010 -0
- filingexplorer_mcp-0.1.0/tests/__init__.py +0 -0
- filingexplorer_mcp-0.1.0/tests/conftest.py +27 -0
- filingexplorer_mcp-0.1.0/tests/fixtures.py +315 -0
- filingexplorer_mcp-0.1.0/tests/synthetic/financials_split_compact.json +114 -0
- filingexplorer_mcp-0.1.0/tests/synthetic/financials_split_full.json +187 -0
- filingexplorer_mcp-0.1.0/tests/test_errors.py +64 -0
- filingexplorer_mcp-0.1.0/tests/test_formatting.py +40 -0
- filingexplorer_mcp-0.1.0/tests/test_live.py +95 -0
- filingexplorer_mcp-0.1.0/tests/test_scrub_check.py +195 -0
- filingexplorer_mcp-0.1.0/tests/test_split_adjusted.py +73 -0
- filingexplorer_mcp-0.1.0/tests/test_tools.py +343 -0
- filingexplorer_mcp-0.1.0/uv.lock +1226 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# Only main and tags may be pushed, each to the same name. Every pushed commit is checked.
|
|
3
|
+
# stdin: <local ref> <local sha> <remote ref> <remote sha>
|
|
4
|
+
top="$(git rev-parse --show-toplevel)"
|
|
5
|
+
zero=0000000000000000000000000000000000000000
|
|
6
|
+
status=0
|
|
7
|
+
while read -r local_ref local_sha remote_ref remote_sha; do
|
|
8
|
+
# Only main -> main and tags -> the same tag.
|
|
9
|
+
case "$remote_ref" in
|
|
10
|
+
refs/heads/main | refs/tags/*) ;;
|
|
11
|
+
*) remote_ref="(not allowed) $remote_ref" ;;
|
|
12
|
+
esac
|
|
13
|
+
if [ "$local_ref" != "$remote_ref" ]; then
|
|
14
|
+
echo "pre-push: refusing to push $local_ref -> $remote_ref (only main and tags)" >&2
|
|
15
|
+
status=1
|
|
16
|
+
continue
|
|
17
|
+
fi
|
|
18
|
+
if [ "$local_sha" = "$zero" ]; then
|
|
19
|
+
echo "pre-push: refusing to delete $remote_ref" >&2
|
|
20
|
+
status=1
|
|
21
|
+
continue
|
|
22
|
+
fi
|
|
23
|
+
if [ "$(git cat-file -t "$local_sha")" = "tag" ]; then
|
|
24
|
+
msg="$(mktemp)"
|
|
25
|
+
git cat-file tag "$local_sha" >"$msg"
|
|
26
|
+
python3 "$top/scripts/scrub_check.py" --message "$msg" || status=1
|
|
27
|
+
rm -f "$msg"
|
|
28
|
+
fi
|
|
29
|
+
commit="$(git rev-parse "$local_sha^{commit}")"
|
|
30
|
+
if [ "$remote_sha" = "$zero" ]; then
|
|
31
|
+
spec="$commit"
|
|
32
|
+
else
|
|
33
|
+
spec="$remote_sha..$commit"
|
|
34
|
+
fi
|
|
35
|
+
python3 "$top/scripts/scrub_check.py" --range "$spec" || status=1
|
|
36
|
+
done
|
|
37
|
+
exit $status
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
## Summary
|
|
2
|
+
|
|
3
|
+
<!-- What changes for someone using the server? -->
|
|
4
|
+
|
|
5
|
+
## Checks
|
|
6
|
+
|
|
7
|
+
- [ ] `uv run ruff check .`, `uv run ruff format --check .` and `uv run pytest` pass.
|
|
8
|
+
- [ ] `python3 scripts/scrub_check.py --staged` (or `--generic-only`) reported nothing.
|
|
9
|
+
|
|
10
|
+
## Publication review
|
|
11
|
+
|
|
12
|
+
- [ ] No personal names, email addresses or file paths from my machine.
|
|
13
|
+
- [ ] No credentials, tokens or keys, including in test fixtures.
|
|
14
|
+
- [ ] No references to other trackers, internal tools or private documents.
|
|
15
|
+
- [ ] Commit messages describe the user-visible change and carry no trailers.
|
|
16
|
+
- [ ] Test fixtures contain only public data or made-up values.
|
|
17
|
+
- [ ] A maintainer has completed the publication review (maintainers tick this).
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
test:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
strategy:
|
|
15
|
+
matrix:
|
|
16
|
+
python-version: ["3.10", "3.12", "3.13"]
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
- uses: astral-sh/setup-uv@v5
|
|
20
|
+
with:
|
|
21
|
+
python-version: ${{ matrix.python-version }}
|
|
22
|
+
- name: Install
|
|
23
|
+
run: uv sync --all-groups
|
|
24
|
+
- name: Lint
|
|
25
|
+
run: |
|
|
26
|
+
uv run ruff check .
|
|
27
|
+
uv run ruff format --check .
|
|
28
|
+
- name: Tests
|
|
29
|
+
run: uv run pytest -q
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
# Publishes to PyPI when a version tag (v0.1.0, v0.2.0, ...) is pushed.
|
|
4
|
+
# PyPI trusted publishing: the "pypi" environment and this workflow must be registered
|
|
5
|
+
# as a trusted publisher on the PyPI project. No API token is stored in the repository.
|
|
6
|
+
|
|
7
|
+
on:
|
|
8
|
+
push:
|
|
9
|
+
tags: ["v*"]
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
contents: read
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
verify:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
with:
|
|
20
|
+
fetch-depth: 0
|
|
21
|
+
- uses: astral-sh/setup-uv@v5
|
|
22
|
+
with:
|
|
23
|
+
python-version: "3.12"
|
|
24
|
+
- name: Tag matches package version
|
|
25
|
+
run: |
|
|
26
|
+
tag="${GITHUB_REF_NAME#v}"
|
|
27
|
+
project=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['project']['version'])")
|
|
28
|
+
module=$(python -c "import re; print(re.search(r'__version__ = \"([^\"]+)\"', open('src/filingexplorer_mcp/__init__.py').read()).group(1))")
|
|
29
|
+
if [ "$tag" != "$project" ] || [ "$tag" != "$module" ]; then
|
|
30
|
+
echo "Tag $GITHUB_REF_NAME does not match pyproject ($project) and __init__ ($module)." >&2
|
|
31
|
+
exit 1
|
|
32
|
+
fi
|
|
33
|
+
- name: Tag is on main
|
|
34
|
+
run: |
|
|
35
|
+
git fetch origin main
|
|
36
|
+
git merge-base --is-ancestor "$GITHUB_SHA" origin/main
|
|
37
|
+
- name: Write pattern file
|
|
38
|
+
env:
|
|
39
|
+
SCRUB_TERMS: ${{ secrets.SCRUB_TERMS }}
|
|
40
|
+
run: |
|
|
41
|
+
if [ -z "$SCRUB_TERMS" ]; then
|
|
42
|
+
echo "The SCRUB_TERMS secret is not available." >&2
|
|
43
|
+
exit 1
|
|
44
|
+
fi
|
|
45
|
+
umask 077
|
|
46
|
+
printf '%s\n' "$SCRUB_TERMS" > "$RUNNER_TEMP/scrub_terms.txt"
|
|
47
|
+
echo "FE_SCRUB_TERMS=$RUNNER_TEMP/scrub_terms.txt" >> "$GITHUB_ENV"
|
|
48
|
+
- name: Publication check (full history)
|
|
49
|
+
run: python scripts/scrub_check.py --history --release
|
|
50
|
+
- name: Remove pattern file
|
|
51
|
+
if: always()
|
|
52
|
+
run: rm -f "$RUNNER_TEMP/scrub_terms.txt"
|
|
53
|
+
- name: Lint and test
|
|
54
|
+
run: |
|
|
55
|
+
uv sync --all-groups
|
|
56
|
+
uv run ruff check .
|
|
57
|
+
uv run ruff format --check .
|
|
58
|
+
uv run pytest -q
|
|
59
|
+
- name: Build
|
|
60
|
+
run: uv build
|
|
61
|
+
- name: List built files
|
|
62
|
+
run: |
|
|
63
|
+
python -m zipfile -l dist/*.whl
|
|
64
|
+
tar -tzf dist/*.tar.gz
|
|
65
|
+
- uses: actions/upload-artifact@v4
|
|
66
|
+
with:
|
|
67
|
+
name: dist
|
|
68
|
+
path: dist/
|
|
69
|
+
|
|
70
|
+
publish:
|
|
71
|
+
needs: verify
|
|
72
|
+
runs-on: ubuntu-latest
|
|
73
|
+
environment:
|
|
74
|
+
name: pypi
|
|
75
|
+
url: https://pypi.org/project/filingexplorer-mcp/
|
|
76
|
+
permissions:
|
|
77
|
+
id-token: write
|
|
78
|
+
steps:
|
|
79
|
+
- uses: actions/download-artifact@v4
|
|
80
|
+
with:
|
|
81
|
+
name: dist
|
|
82
|
+
path: dist/
|
|
83
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
name: Scrub
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
scrub:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
with:
|
|
17
|
+
fetch-depth: 0
|
|
18
|
+
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
|
|
19
|
+
- uses: actions/setup-python@v5
|
|
20
|
+
with:
|
|
21
|
+
python-version: "3.12"
|
|
22
|
+
- name: Built-in checks (pull requests from forks)
|
|
23
|
+
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
|
|
24
|
+
env:
|
|
25
|
+
CI: "false"
|
|
26
|
+
run: python scripts/scrub_check.py --generic-only --tree
|
|
27
|
+
- name: Write pattern file
|
|
28
|
+
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) }}
|
|
29
|
+
env:
|
|
30
|
+
SCRUB_TERMS: ${{ secrets.SCRUB_TERMS }}
|
|
31
|
+
run: |
|
|
32
|
+
if [ -z "$SCRUB_TERMS" ]; then
|
|
33
|
+
echo "The SCRUB_TERMS secret is not available." >&2
|
|
34
|
+
exit 1
|
|
35
|
+
fi
|
|
36
|
+
umask 077
|
|
37
|
+
printf '%s\n' "$SCRUB_TERMS" > "$RUNNER_TEMP/scrub_terms.txt"
|
|
38
|
+
echo "FE_SCRUB_TERMS=$RUNNER_TEMP/scrub_terms.txt" >> "$GITHUB_ENV"
|
|
39
|
+
- name: Check commits in this event
|
|
40
|
+
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) }}
|
|
41
|
+
env:
|
|
42
|
+
EVENT: ${{ github.event_name }}
|
|
43
|
+
PUSH_BEFORE: ${{ github.event.before }}
|
|
44
|
+
PR_BASE: ${{ github.event.pull_request.base.sha }}
|
|
45
|
+
PR_HEAD: ${{ github.event.pull_request.head.sha }}
|
|
46
|
+
run: |
|
|
47
|
+
case "$EVENT" in
|
|
48
|
+
pull_request) spec="$PR_BASE..$PR_HEAD" ;;
|
|
49
|
+
push) spec="${PUSH_BEFORE:-0000000000000000000000000000000000000000}..$GITHUB_SHA" ;;
|
|
50
|
+
*) spec="$GITHUB_SHA" ;;
|
|
51
|
+
esac
|
|
52
|
+
python scripts/scrub_check.py --range "$spec"
|
|
53
|
+
- name: Check tracked files
|
|
54
|
+
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) }}
|
|
55
|
+
run: python scripts/scrub_check.py --tree
|
|
56
|
+
- name: Check full history
|
|
57
|
+
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'
|
|
58
|
+
run: python scripts/scrub_check.py --history --release
|
|
59
|
+
- name: Remove pattern file
|
|
60
|
+
if: always()
|
|
61
|
+
run: rm -f "$RUNNER_TEMP/scrub_terms.txt"
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are recorded here. During 0.x, tool names, parameters and
|
|
4
|
+
outputs may change between minor versions; such changes are listed under **Changed**.
|
|
5
|
+
|
|
6
|
+
## [0.1.0] - 2026-10-30
|
|
7
|
+
|
|
8
|
+
First public release.
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Tools for company search and profiles, filing lists and the filing calendar.
|
|
13
|
+
- Reported financials.
|
|
14
|
+
- Filing document lists and verbatim document text, and 10-K/10-Q section text.
|
|
15
|
+
- Form 13-F manager search, submissions and the institutional holders of a security.
|
|
16
|
+
- Form 4 filings, filing detail and insider-trade clusters.
|
|
17
|
+
- ETF holdings.
|
|
18
|
+
- Watchlist management for your own account.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Thanks for your interest in the FilingExplorer MCP server. Bug reports and pull requests are
|
|
4
|
+
welcome.
|
|
5
|
+
|
|
6
|
+
## Setup
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
uv sync --all-groups
|
|
10
|
+
sh scripts/install-hooks.sh
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
`install-hooks.sh` points git at the hooks in `.githooks/`:
|
|
14
|
+
|
|
15
|
+
- **pre-commit** checks the lines you are adding and any new file names.
|
|
16
|
+
- **commit-msg** checks the commit message.
|
|
17
|
+
- **pre-push** checks every commit you push, and only allows pushes of `main` and tags.
|
|
18
|
+
|
|
19
|
+
The hooks run `scripts/scrub_check.py`, which looks for content that does not belong in a public
|
|
20
|
+
repository: personal file paths, local tool directories, credentials and tokens, email addresses,
|
|
21
|
+
issue numbers from other trackers, and commit trailers. Maintainers run additional checks
|
|
22
|
+
before merging. To run the built-in checks yourself:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
python3 scripts/scrub_check.py --staged --generic-only
|
|
26
|
+
python3 scripts/scrub_check.py --tree --generic-only
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Commits
|
|
30
|
+
|
|
31
|
+
- Commits on `main` use the project identity, `Giant Octopus, LLC <hello@giantoctopus.ink>`.
|
|
32
|
+
A maintainer applies it when merging an outside contribution.
|
|
33
|
+
- Do not add trailers to commit messages (co-author, session or tool lines).
|
|
34
|
+
- Do not reference issue numbers in commit messages. Describe the change a user would notice.
|
|
35
|
+
|
|
36
|
+
## Pull requests
|
|
37
|
+
|
|
38
|
+
- Run `uv run ruff check .`, `uv run ruff format --check .` and `uv run pytest` before opening a
|
|
39
|
+
pull request.
|
|
40
|
+
- Every pull request needs a maintainer's publication review before it is merged. The reviewer
|
|
41
|
+
checks the diff, the commit messages and the commit identities, and runs the full check.
|
|
42
|
+
- Fill in the checklist in the pull request template.
|
|
43
|
+
|
|
44
|
+
## Releases (maintainers)
|
|
45
|
+
|
|
46
|
+
1. Update the version in `pyproject.toml` and `src/filingexplorer_mcp/__init__.py`, and move
|
|
47
|
+
the changelog entry from "unreleased" to the release date. Merge that to `main`.
|
|
48
|
+
2. Tag the merge commit on `main` and push the tag: `git tag v0.1.0 && git push origin v0.1.0`.
|
|
49
|
+
3. The release workflow checks that the tag matches both versions and is on `main`, runs the
|
|
50
|
+
full publication check, lint and tests, builds, and publishes to PyPI through trusted
|
|
51
|
+
publishing. Publishing waits for approval in the `pypi` environment.
|
|
52
|
+
|
|
53
|
+
## License
|
|
54
|
+
|
|
55
|
+
By contributing you agree that your contribution is licensed under the Apache License 2.0.
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
FilingExplorer MCP Server
|
|
2
|
+
Copyright 2026 Giant Octopus, LLC
|
|
3
|
+
|
|
4
|
+
This product is licensed under the Apache License, Version 2.0
|
|
5
|
+
(see the LICENSE file).
|
|
6
|
+
|
|
7
|
+
It connects to the FilingExplorer API, which serves data derived from
|
|
8
|
+
public U.S. Securities and Exchange Commission (SEC) filings. Use of the
|
|
9
|
+
API is governed by the FilingExplorer terms of service, separately from
|
|
10
|
+
this license.
|