National Park Service Data Server
Python-based server with 29 tools that provides real-time access to National Park Service data and resources through a standardized protocol. Enable seamless integration of park information into applications and agents for enhanced user experiences. Facilitate dynamic querying and retrieval of park-related content and tools. To use the MCP server in the playground, please create a NPS API key and add it to npsApiKey via the Smithery configuration. While calling the remote server via python code from your local laptop, please add the key to the environment variable as NPS_API_KEY = "***"
Ask AI about National Park Service Data Server
Powered by Claude Β· Grounded in docs
I know everything about National Park Service Data Server. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
National Park Service MCP Server
An open-source MCP server for managing and processing data related to the National Park Service. This project provides MCP-compliant tools for retriving park information, visitor management, and more.
Table of Contents
- Getting Started
- Repository Structure
- Environment Variables
- MCP API Documentation
- Contributing
- License
Getting Started
Installation
- Create a virtual environment and activate it:
uv venv .venv
source .venv/bin/activate # On Windows use: .venv\Scripts\activate
- Sync dependencies from
pyproject.toml(if present):
uv sync
- To install additional requirements during development:
uv pip install -r requirements.txt
- To test the server locally:
```bash
uv run server.py
```
> **Note:** The instructions above are intended for local development and testing. In production, the MCP server is expected to run remotely via Smithery.ai.
MCP Marketplace
This server is open-sourced and available in the MCP Marketplace: View on Smithery.ai
Repository Structure
.
βββ src/
β βββ api_utils.py # To handle API calls to NSP server
β βββ models.py # Pydantic Args to get input from LLMs in specific format
βββ server.py # Main python that defines @mcp.tools and its function
βββ README.md
βββ Dockerfile # Docker configuration for containerizing the server
βββ smithery.yaml # Smithery configuration
βββ LICENSE # MIT license information
βββ README.md
Environment Variables
Create a .env file in the root directory. Required variables include:
NPS_API_KEY = "***"
- Create NPS API key here - https://www.nps.gov/subjects/developer/get-started.htm
- NPS API documentation - https://www.nps.gov/subjects/developer/api-documentation.htm
Contributing
We welcome contributions from the community! If you would like to contribute, please follow these steps:
- Fork this repository.
- Create a new branch for your changes.
- Make your improvements or fixes.
- Open a pull request with a clear description of your changes.
If you have any questions or suggestions, feel free to open an issue. Thank you for helping improve this project!
License
This project is licensed under the MIT License.
