aviationstack-mcp-server 0.1.0__py3-none-any.whl
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.
- aviationstack_mcp_server/__init__.py +0 -0
- aviationstack_mcp_server/__main__.py +15 -0
- aviationstack_mcp_server/client/__init__.py +9 -0
- aviationstack_mcp_server/client/aviationstack.py +138 -0
- aviationstack_mcp_server/client/factory.py +30 -0
- aviationstack_mcp_server/client/http.py +292 -0
- aviationstack_mcp_server/config/__init__.py +3 -0
- aviationstack_mcp_server/config/settings.py +162 -0
- aviationstack_mcp_server/errors/__init__.py +25 -0
- aviationstack_mcp_server/errors/exceptions.py +56 -0
- aviationstack_mcp_server/logging_config.py +52 -0
- aviationstack_mcp_server/mcp/__init__.py +3 -0
- aviationstack_mcp_server/mcp/dependencies.py +64 -0
- aviationstack_mcp_server/mcp/errors.py +118 -0
- aviationstack_mcp_server/mcp/prompts/__init__.py +0 -0
- aviationstack_mcp_server/mcp/prompts/aviation.py +98 -0
- aviationstack_mcp_server/mcp/resources/__init__.py +0 -0
- aviationstack_mcp_server/mcp/resources/documentation.py +165 -0
- aviationstack_mcp_server/mcp/resources/metadata.py +46 -0
- aviationstack_mcp_server/mcp/server.py +164 -0
- aviationstack_mcp_server/mcp/tools/__init__.py +0 -0
- aviationstack_mcp_server/mcp/tools/aircraft.py +64 -0
- aviationstack_mcp_server/mcp/tools/airlines.py +43 -0
- aviationstack_mcp_server/mcp/tools/airports.py +43 -0
- aviationstack_mcp_server/mcp/tools/flights.py +125 -0
- aviationstack_mcp_server/mcp/tools/reference.py +129 -0
- aviationstack_mcp_server/models/__init__.py +81 -0
- aviationstack_mcp_server/models/aircraft.py +43 -0
- aviationstack_mcp_server/models/airline.py +29 -0
- aviationstack_mcp_server/models/airport.py +33 -0
- aviationstack_mcp_server/models/common.py +20 -0
- aviationstack_mcp_server/models/flight.py +125 -0
- aviationstack_mcp_server/models/location.py +50 -0
- aviationstack_mcp_server/models/queries.py +284 -0
- aviationstack_mcp_server/models/route.py +24 -0
- aviationstack_mcp_server/models/tax.py +20 -0
- aviationstack_mcp_server/observability.py +27 -0
- aviationstack_mcp_server/security.py +62 -0
- aviationstack_mcp_server/services/__init__.py +13 -0
- aviationstack_mcp_server/services/aircraft_service.py +156 -0
- aviationstack_mcp_server/services/airline_service.py +89 -0
- aviationstack_mcp_server/services/airport_service.py +116 -0
- aviationstack_mcp_server/services/flight_service.py +366 -0
- aviationstack_mcp_server/services/reference_service.py +315 -0
- aviationstack_mcp_server/utils/__init__.py +0 -0
- aviationstack_mcp_server-0.1.0.dist-info/METADATA +57 -0
- aviationstack_mcp_server-0.1.0.dist-info/RECORD +50 -0
- aviationstack_mcp_server-0.1.0.dist-info/WHEEL +4 -0
- aviationstack_mcp_server-0.1.0.dist-info/entry_points.txt +3 -0
- aviationstack_mcp_server-0.1.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: aviationstack-mcp-server
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: An open-source Model Context Protocol server for the Aviationstack aviation API.
|
|
5
|
+
Keywords: mcp,model-context-protocol,aviationstack,aviation,flights,ai,llm
|
|
6
|
+
Author: Ravi Agarwal
|
|
7
|
+
Author-email: Ravi Agarwal <raviagrawal1121@gmail.com>
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
16
|
+
Requires-Dist: httpx>=0.28.1
|
|
17
|
+
Requires-Dist: mcp[cli]>=2.2.0
|
|
18
|
+
Requires-Dist: pydantic>=2.13.5
|
|
19
|
+
Requires-Dist: pydantic-settings>=2.15.0
|
|
20
|
+
Requires-Dist: tenacity>=9.1.4
|
|
21
|
+
Requires-Python: >=3.13
|
|
22
|
+
Project-URL: Homepage, https://github.com/raviagrawal121/aviationstack-mcp-server
|
|
23
|
+
Project-URL: Repository, https://github.com/raviagrawal121/aviationstack-mcp-server
|
|
24
|
+
Project-URL: Issues, https://github.com/raviagrawal121/aviationstack-mcp-server/issues
|
|
25
|
+
Project-URL: Changelog, https://github.com/raviagrawal121/aviationstack-mcp-server/blob/main/CHANGELOG.md
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
# Aviationstack MCP Server
|
|
29
|
+
|
|
30
|
+
MCP server providing aviation data through the Aviationstack API.
|
|
31
|
+
|
|
32
|
+
## Development
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
uv sync
|
|
36
|
+
source .venv/bin/activate
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Normal tests are offline and do not require an Aviationstack API key:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
uv run pytest -m "not live_api"
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Run the live MCP-to-Aviationstack test explicitly with `AVIATIONSTACK_API_KEY`
|
|
46
|
+
set in the environment or `.env`:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
uv run pytest -m live_api
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Probe endpoint access for the configured account, using one bounded request per
|
|
53
|
+
capability:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
AVIATIONSTACK_LIVE=1 uv run pytest -m capability_discovery -s
|
|
57
|
+
```
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
aviationstack_mcp_server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
aviationstack_mcp_server/__main__.py,sha256=1QNd-kKI0QzsUCjU3kDN685e-PsDtnbAviYmHT-9Bko,370
|
|
3
|
+
aviationstack_mcp_server/client/__init__.py,sha256=b9OJZ4cI6XgHyOnkeovpM-Vlocf9sXLiUnZBDCa0Gn8,220
|
|
4
|
+
aviationstack_mcp_server/client/aviationstack.py,sha256=Epv0Lb4j8mYdqtFlSl2JQlil1tNpBtjbtcwHT6TWp7M,3926
|
|
5
|
+
aviationstack_mcp_server/client/factory.py,sha256=QPQz5D7ID1TTz1eM93ZXd6jtvEijxMZSZh3rmAY_3JU,920
|
|
6
|
+
aviationstack_mcp_server/client/http.py,sha256=W90eBUCHynyx7W1wyW-Mni93hSvcWm3B98bx_GS6Rec,9561
|
|
7
|
+
aviationstack_mcp_server/config/__init__.py,sha256=ELDZMaYh_4WjLIruSYNKoZ1H6N4_HalfVnB_xLv14QQ,85
|
|
8
|
+
aviationstack_mcp_server/config/settings.py,sha256=4Gv9-V4H18A_ukfMrjcolbCc4jQI-R_jnF0nvQ2Thro,4200
|
|
9
|
+
aviationstack_mcp_server/errors/__init__.py,sha256=tDKCfoPtl16uSPR3YC_hapLZhuOJf4IgmvCQMkdtwmY,703
|
|
10
|
+
aviationstack_mcp_server/errors/exceptions.py,sha256=plCI5gC1e5arO6EuXcA0TQnBhO4WCMISah5GMnwcuCg,1677
|
|
11
|
+
aviationstack_mcp_server/logging_config.py,sha256=awEJYKoohF2ZGWpT5Ukc5TAJW4_FU1sXOGbwz5OjLk0,1530
|
|
12
|
+
aviationstack_mcp_server/mcp/__init__.py,sha256=h4FsS0I3qYrX09P8RnI9AVIRwKwdJO58BEJ-J0G0Zzo,91
|
|
13
|
+
aviationstack_mcp_server/mcp/dependencies.py,sha256=AAbq3WolSSCs8dRnXO89vwI85hkzlm2LUH8LL0YiLFg,1866
|
|
14
|
+
aviationstack_mcp_server/mcp/errors.py,sha256=cjqEVLYIjn-fZtP_36Z4cmkgabOfzwCz5R46GEpVUUk,3891
|
|
15
|
+
aviationstack_mcp_server/mcp/prompts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
|
+
aviationstack_mcp_server/mcp/prompts/aviation.py,sha256=sCtUmRwfzTGEcnyuF_mOdaMSvxE-KGaR7QmGolKkHRI,3450
|
|
17
|
+
aviationstack_mcp_server/mcp/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
|
+
aviationstack_mcp_server/mcp/resources/documentation.py,sha256=kTRhau960qulo648tdXzl_U9Of-aRUxUampFVVvwBEE,5401
|
|
19
|
+
aviationstack_mcp_server/mcp/resources/metadata.py,sha256=SavWHUvXjTYnyX4FPUWQqT8IRfJfjpEjlwZuY5ANC5c,1428
|
|
20
|
+
aviationstack_mcp_server/mcp/server.py,sha256=v9q1KSeg7gDPXuA9knO0Tap8kj2rwSAMlavtwFlI4xM,5272
|
|
21
|
+
aviationstack_mcp_server/mcp/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
|
+
aviationstack_mcp_server/mcp/tools/aircraft.py,sha256=B-2P52p3ex1ahlnqhIPPvAnHq3_Nd2pQivJQetM1Alg,2000
|
|
23
|
+
aviationstack_mcp_server/mcp/tools/airlines.py,sha256=qIMt852wr8DKcrq1jUD38Oz1xT21UsDcvrEW3QraBpU,1292
|
|
24
|
+
aviationstack_mcp_server/mcp/tools/airports.py,sha256=UXC7N7jSO45cvFC6_-nBr3wnXWHaBRJg586dDWnV_Rg,1288
|
|
25
|
+
aviationstack_mcp_server/mcp/tools/flights.py,sha256=m9UQwz--LXU9x2dQMIbT69w0YZk0SwZSE2vjgY1FeZk,3770
|
|
26
|
+
aviationstack_mcp_server/mcp/tools/reference.py,sha256=oCF_idSmvrF8Bt_w4oxkkddsYBB0WNIL1T2ts1sB5XI,3829
|
|
27
|
+
aviationstack_mcp_server/models/__init__.py,sha256=rLijEtpTVGNzB6lWdqruXFebsgx0qPoIq4EdigKe6fI,1850
|
|
28
|
+
aviationstack_mcp_server/models/aircraft.py,sha256=nVcmRwn5TRkWzwKqHESF-H-mLbfur5dMUpsD2fy89JY,1189
|
|
29
|
+
aviationstack_mcp_server/models/airline.py,sha256=mv_jp1O5LkKf6nz9B_IYS-xhSCNsVpQ1HUmdlwO1Mn8,712
|
|
30
|
+
aviationstack_mcp_server/models/airport.py,sha256=HZcivrCqTcBlpf-3TMpFRJItYZ8PtHz839ZalDv4xgw,817
|
|
31
|
+
aviationstack_mcp_server/models/common.py,sha256=kvoP0GyAf_E29jicfbMbjQBvJopFcXo74jYhKe7dekU,434
|
|
32
|
+
aviationstack_mcp_server/models/flight.py,sha256=W7UNpAQbE9T7bywuHjU83Ow9WHBbOEG5y79ryl8Eq8k,3254
|
|
33
|
+
aviationstack_mcp_server/models/location.py,sha256=ngzmVV56Vdy_SvDLVMudFvK0McZmDC43TnM4aNbg8JA,1328
|
|
34
|
+
aviationstack_mcp_server/models/queries.py,sha256=oIavTRuyCcsdrybxu3nIFW2PnUk_9OKlC1QIi7yeNCs,6066
|
|
35
|
+
aviationstack_mcp_server/models/route.py,sha256=wKtB7cnpvGy0tA-gLexYa4Os38zPFiHFzF4qOTaq35o,616
|
|
36
|
+
aviationstack_mcp_server/models/tax.py,sha256=IkWYwtHtcn_7qlizE2XzYPkCs9t8eR_oqMFh8zUECUA,475
|
|
37
|
+
aviationstack_mcp_server/observability.py,sha256=VEcOS_enYFHEt6MolPlcw8JWmeAOR2MdHhytfukxKkM,531
|
|
38
|
+
aviationstack_mcp_server/security.py,sha256=9MEiUlRlYrdDIX5OBFUeqBz429mdP6oPeg9dm7Tx7Ds,1763
|
|
39
|
+
aviationstack_mcp_server/services/__init__.py,sha256=jrqRSFuqxlRhHFHWR7Pbj7oOtjn4yeYzD9bT_YYBP3w,359
|
|
40
|
+
aviationstack_mcp_server/services/aircraft_service.py,sha256=t_p7eqRIht7Spba-4UteGItSwvC6XOotvjuQCDj2tmM,4009
|
|
41
|
+
aviationstack_mcp_server/services/airline_service.py,sha256=ennIpk1hSDMjq1wAR7hnI2joU9K1M_4spB-0NLnYtCA,2310
|
|
42
|
+
aviationstack_mcp_server/services/airport_service.py,sha256=6-gue51OfubY86UjYqFCOVL0zW3QeieKZbcc4K87Lzc,3045
|
|
43
|
+
aviationstack_mcp_server/services/flight_service.py,sha256=yAOtoo0IoHrYpVX4QZW9ml9twZhejCBADYqZN5MbQHc,10148
|
|
44
|
+
aviationstack_mcp_server/services/reference_service.py,sha256=nUFuvolsM51YoGERYYo6ThsT6uMmr2CyuTXLIpR0wVg,8105
|
|
45
|
+
aviationstack_mcp_server/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
46
|
+
aviationstack_mcp_server-0.1.0.dist-info/licenses/LICENSE,sha256=3dIM6gbtNYdNVvntNS3A5IR_KFSuQL-zcyifBaL737k,1069
|
|
47
|
+
aviationstack_mcp_server-0.1.0.dist-info/WHEEL,sha256=WKk67IZPzp9uSkBO-iWoZzrqp9-AwH7FE9EB8EoJbf4,81
|
|
48
|
+
aviationstack_mcp_server-0.1.0.dist-info/entry_points.txt,sha256=dGm0lIMgDIDq340LpmP0-RxZSpcT0GSL4hJajDyf4us,85
|
|
49
|
+
aviationstack_mcp_server-0.1.0.dist-info/METADATA,sha256=cMzT9DleGsIPcb5bKtQln0QjnsVhIzyXBcNgqGY8CYw,1852
|
|
50
|
+
aviationstack_mcp_server-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Ravi Agarwal
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|