Science
Data source: NSF Award API
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/nsf-awards/
claude_desktop_config.json
{
"mcpServers": {
"gnist-nsf-awards": {
"url": "https://context.gnist.ai/mcp/nsf-awards/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/nsf-awards/" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "search_awards", "arguments": {"keyword": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/nsf-awards/
4 endpoints available:
GET /rest/nsf-awards/search_awardsGET /rest/nsf-awards/get_awardGET /rest/nsf-awards/search_by_piGET /rest/nsf-awards/report_feedback
Shell
curl "https://context.gnist.ai/rest/nsf-awards/search_awards?keyword=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/nsf-awards/search_awards",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"keyword": "example"
},
)
print(resp.json())
Command Line
Command
gc nsf-awards
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (4)
search_awardsSearch NSF research awards and grants by keyword.
| Parameter | Type | Required | Description |
|---|---|---|---|
keyword | string | required | Search term for NSF awards (e.g. "machine learning", "climate change", "quantum computing"). |
awardee_name | any | optional | Institution name to filter by (e.g. "MIT", "Stanford University"). |
start_date_start | any | optional | Filter awards starting after this date (MM/DD/YYYY format). |
start_date_end | any | optional | Filter awards starting before this date (MM/DD/YYYY format). |
limit | integer | optional | Number of results (1–25, default 25). (default: 25) |
get_awardGet detailed information about a specific NSF award.
| Parameter | Type | Required | Description |
|---|---|---|---|
award_id | string | required | NSF award ID (e.g. "2548201"). Found in search_awards results. |
search_by_piSearch NSF awards by principal investigator name.
| Parameter | Type | Required | Description |
|---|---|---|---|
pi_last_name | string | required | Principal investigator's last name. |
pi_first_name | any | optional | Principal investigator's first name (optional, narrows results). |
keyword | any | optional | Optional keyword to further filter results. |
limit | integer | optional | Number of results (1–25, default 25). (default: 25) |
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |