harish-anandaramanujam/national-park-service-mcp-server
If you are the rightful owner of national-park-service-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The National Park Service MCP Server is designed to facilitate the management and dissemination of information related to national parks using the Model Context Protocol (MCP).
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 .