Skip to main content
Glama

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

Related MCP server: National Parks MCP Server

Getting Started

Installation

  1. Create a virtual environment and activate it:

uv venv .venv source .venv/bin/activate # On Windows use: .venv\Scripts\activate
  1. Sync dependencies from pyproject.toml (if present):

uv sync
  1. To install additional requirements during development:

uv pip install -r requirements.txt
  1. 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:

  1. Fork this repository.

  2. Create a new branch for your changes.

  3. Make your improvements or fixes.

  4. 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.

-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/harish-anandaramanujam/national-park-service-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server