
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
hubot-pollen
Advanced tools
Retrieves the latest pollen forecast using Open-Meteo first, with fallback to Pollen.com when Open-Meteo has no usable pollen data.
In hubot project repo, run:
npm install hubot-pollen --save
Then add hubot-pollen to your external-scripts.json:
[
"hubot-pollen"
]
Set the target location by providing a default search value (ZIP, city, or place text). Defaults to Nashville, TN for demonstration purposes.
| Environment Variable | Required? | Description |
|---|---|---|
HUBOT_POLLEN_ZIP | No | Default location query (ZIP, city, or place) |
HUBOT_POLLEN_OLLAMA_ENABLED | No | Set to true to register pollen tools with hubot-ollama |
hubot pollen - Show today's pollen levels for the default location query.hubot pollen <zip> - Show today's pollen levels for the given 5-digit ZIP.hubot pollen <search> - Show today's pollen levels for a geocoded location query.Open-Meteo pollen values are only available for Europe during pollen season, so fallback is expected for many US locales. Slack responses cite Open-Meteo in the attachment footer when that data source is used.
user1>> hubot pollen
hubot>> Nashville, TN Pollen: 8.2 (Medium-High) - Alder, Juniper, Maple
user1>> hubot pollen London
hubot>> London, GB Pollen: Low intensity (1.7 grains/m^3 peak) - Grass 1.7, Birch 0.6
https://www.npmjs.com/package/hubot-pollen
This package can expose pollen tools to Ollama for use in LLM-powered conversations through the hubot-ollama package.
To enable this feature, set the following environment variable:
HUBOT_POLLEN_OLLAMA_ENABLED=true
This requires hubot-ollama to be installed in your hubot repository. If hubot-ollama is not available, the tools will not be registered but the package will continue to function normally.
Retrieves pollen forecast data for a specified location.
Parameters:
Returns:
Retrieves pollen forecast data for specific latitude and longitude coordinates.
Parameters:
Returns:
get_pollen_forecast — Open-Meteo result:
{
"source": "open-meteo",
"location": "London, GB",
"coordinates": { "latitude": 51.5, "longitude": -0.1 },
"intensity": "Low",
"peak_grains_per_m3": 1.7,
"pollen_types": [
{ "type": "Grass", "peak": 1.7 },
{ "type": "Birch", "peak": 0.6 }
]
}
get_pollen_forecast — Pollen.com fallback result:
{
"source": "pollen.com",
"location": "Nashville, TN",
"zip": "37206",
"index": 8.2,
"level": "Medium-High",
"triggers": ["Alder", "Juniper", "Maple"]
}
get_pollen_by_coordinates result:
{
"source": "open-meteo",
"coordinates": { "latitude": 51.5, "longitude": -0.1 },
"intensity": "Low",
"peak_grains_per_m3": 1.7,
"pollen_types": [
{ "type": "Grass", "peak": 1.7 }
]
}
FAQs
Retrieves the latest from the Pollen.com API
We found that hubot-pollen demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.