Skip to content

Commit c2ab36e

Browse files
kmoscoeclincoln8
andauthored
Add Gemini CLI extension doc, troubleshooting doc and refactor (#652)
* remove references to dataclass objects * Fix a copy-paste error. * remove extra file * Create placeholders for LLM pages * rename to MCP * complete rename * remove old file * Changes from Keyur * Add target tag * Rewording suggested by Keyur * Remove extraneous text * Fix a copy-paste error. * Migrate MCP docs to docsite * Restructuring * Remove unused file * Add TOCs etc. * Update var formatting * comments from Keyur * another change from Keyur * Update mcp/index.md Co-authored-by: Christie Ellks <[email protected]> * Changes from Christie * Apply suggestion from @clincoln8 Co-authored-by: Christie Ellks <[email protected]> * More changes from Christie * Changes from Dan * Link fixes * Remove MCP inspector info * Add more context to agent dev doc * fix formatting * Create placeholders for LLM pages * merge * Slight rewording based on comment from Christie * Lots of restructuring * More work on Gemini CLI extension * More changes * more changes * more changes * Update mcp/run_tools.md Co-authored-by: Christie Ellks <[email protected]> * implement suggestions from Christie * Add some bullets to comparison section * Fix update section * rename "prompt" to "context" --------- Co-authored-by: Christie Ellks <[email protected]>
1 parent 3f72447 commit c2ab36e

File tree

3 files changed

+282
-154
lines changed

3 files changed

+282
-154
lines changed

Gemfile.lock

Lines changed: 82 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,72 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (7.1.1)
4+
activesupport (7.2.3)
55
base64
6+
benchmark (>= 0.3)
67
bigdecimal
7-
concurrent-ruby (~> 1.0, >= 1.0.2)
8+
concurrent-ruby (~> 1.0, >= 1.3.1)
89
connection_pool (>= 2.2.5)
910
drb
1011
i18n (>= 1.6, < 2)
12+
logger (>= 1.4.2)
1113
minitest (>= 5.1)
12-
mutex_m
13-
tzinfo (~> 2.0)
14-
addressable (2.8.5)
15-
public_suffix (>= 2.0.2, < 6.0)
16-
base64 (0.1.1)
17-
bigdecimal (3.1.4)
14+
securerandom (>= 0.3)
15+
tzinfo (~> 2.0, >= 2.0.5)
16+
addressable (2.8.7)
17+
public_suffix (>= 2.0.2, < 7.0)
18+
base64 (0.3.0)
19+
benchmark (0.5.0)
20+
bigdecimal (3.3.1)
1821
coffee-script (2.4.1)
1922
coffee-script-source
2023
execjs
21-
coffee-script-source (1.11.1)
24+
coffee-script-source (1.12.2)
2225
colorator (1.1.0)
23-
commonmarker (0.23.10)
24-
concurrent-ruby (1.2.2)
25-
connection_pool (2.4.1)
26-
dnsruby (1.70.0)
26+
commonmarker (0.23.12)
27+
concurrent-ruby (1.3.5)
28+
connection_pool (2.5.4)
29+
dnsruby (1.73.0)
30+
base64 (>= 0.2)
31+
logger (~> 1.6)
2732
simpleidn (~> 0.2.1)
28-
drb (2.1.1)
29-
ruby2_keywords
33+
drb (2.2.3)
3034
em-websocket (0.5.3)
3135
eventmachine (>= 0.12.9)
3236
http_parser.rb (~> 0)
33-
ethon (0.16.0)
37+
ethon (0.18.0)
3438
ffi (>= 1.15.0)
39+
logger
3540
eventmachine (1.2.7)
36-
execjs (2.9.1)
37-
faraday (2.7.11)
38-
base64
39-
faraday-net_http (>= 2.0, < 3.1)
40-
ruby2_keywords (>= 0.0.4)
41-
faraday-net_http (3.0.2)
42-
ffi (1.16.3)
41+
execjs (2.10.0)
42+
faraday (2.14.0)
43+
faraday-net_http (>= 2.0, < 3.5)
44+
json
45+
logger
46+
faraday-net_http (3.4.1)
47+
net-http (>= 0.5.0)
48+
ffi (1.17.2)
49+
ffi (1.17.2-arm64-darwin)
50+
ffi (1.17.2-x86_64-darwin)
4351
forwardable-extended (2.6.0)
44-
gemoji (3.0.1)
45-
github-pages (228)
46-
github-pages-health-check (= 1.17.9)
47-
jekyll (= 3.9.3)
48-
jekyll-avatar (= 0.7.0)
49-
jekyll-coffeescript (= 1.1.1)
52+
gemoji (4.1.0)
53+
github-pages (230)
54+
github-pages-health-check (= 1.18.2)
55+
jekyll (= 3.9.5)
56+
jekyll-avatar (= 0.8.0)
57+
jekyll-coffeescript (= 1.2.2)
5058
jekyll-commonmark-ghpages (= 0.4.0)
51-
jekyll-default-layout (= 0.1.4)
52-
jekyll-feed (= 0.15.1)
59+
jekyll-default-layout (= 0.1.5)
60+
jekyll-feed (= 0.17.0)
5361
jekyll-gist (= 1.5.0)
54-
jekyll-github-metadata (= 2.13.0)
62+
jekyll-github-metadata (= 2.16.1)
5563
jekyll-include-cache (= 0.2.1)
5664
jekyll-mentions (= 1.6.0)
5765
jekyll-optional-front-matter (= 0.3.2)
5866
jekyll-paginate (= 1.1.0)
5967
jekyll-readme-index (= 0.3.0)
6068
jekyll-redirect-from (= 0.16.0)
61-
jekyll-relative-links (= 0.6.1)
69+
jekyll-relative-links (= 0.7.0)
6270
jekyll-remote-theme (= 0.4.3)
6371
jekyll-sass-converter (= 1.5.2)
6472
jekyll-seo-tag (= 2.8.0)
@@ -78,28 +86,28 @@ GEM
7886
jekyll-theme-tactile (= 0.2.0)
7987
jekyll-theme-time-machine (= 0.2.0)
8088
jekyll-titles-from-headings (= 0.5.3)
81-
jemoji (= 0.12.0)
82-
kramdown (= 2.3.2)
89+
jemoji (= 0.13.0)
90+
kramdown (= 2.4.0)
8391
kramdown-parser-gfm (= 1.1.0)
8492
liquid (= 4.0.4)
8593
mercenary (~> 0.3)
8694
minima (= 2.5.1)
8795
nokogiri (>= 1.13.6, < 2.0)
88-
rouge (= 3.26.0)
96+
rouge (= 3.30.0)
8997
terminal-table (~> 1.4)
90-
github-pages-health-check (1.17.9)
98+
github-pages-health-check (1.18.2)
9199
addressable (~> 2.3)
92100
dnsruby (~> 1.60)
93-
octokit (~> 4.0)
94-
public_suffix (>= 3.0, < 5.0)
101+
octokit (>= 4, < 8)
102+
public_suffix (>= 3.0, < 6.0)
95103
typhoeus (~> 1.3)
96104
html-pipeline (2.14.3)
97105
activesupport (>= 2)
98106
nokogiri (>= 1.4)
99107
http_parser.rb (0.8.0)
100-
i18n (1.14.1)
108+
i18n (1.14.7)
101109
concurrent-ruby (~> 1.0)
102-
jekyll (3.9.3)
110+
jekyll (3.9.5)
103111
addressable (~> 2.4)
104112
colorator (~> 1.0)
105113
em-websocket (~> 0.5)
@@ -112,27 +120,27 @@ GEM
112120
pathutil (~> 0.9)
113121
rouge (>= 1.7, < 4)
114122
safe_yaml (~> 1.0)
115-
jekyll-avatar (0.7.0)
123+
jekyll-avatar (0.8.0)
116124
jekyll (>= 3.0, < 5.0)
117-
jekyll-coffeescript (1.1.1)
125+
jekyll-coffeescript (1.2.2)
118126
coffee-script (~> 2.2)
119-
coffee-script-source (~> 1.11.1)
127+
coffee-script-source (~> 1.12)
120128
jekyll-commonmark (1.4.0)
121129
commonmarker (~> 0.22)
122130
jekyll-commonmark-ghpages (0.4.0)
123131
commonmarker (~> 0.23.7)
124132
jekyll (~> 3.9.0)
125133
jekyll-commonmark (~> 1.4.0)
126134
rouge (>= 2.0, < 5.0)
127-
jekyll-default-layout (0.1.4)
128-
jekyll (~> 3.0)
129-
jekyll-feed (0.15.1)
135+
jekyll-default-layout (0.1.5)
136+
jekyll (>= 3.0, < 5.0)
137+
jekyll-feed (0.17.0)
130138
jekyll (>= 3.7, < 5.0)
131139
jekyll-gist (1.5.0)
132140
octokit (~> 4.2)
133-
jekyll-github-metadata (2.13.0)
141+
jekyll-github-metadata (2.16.1)
134142
jekyll (>= 3.4, < 5.0)
135-
octokit (~> 4.0, != 4.4.0)
143+
octokit (>= 4, < 7, != 4.4.0)
136144
jekyll-include-cache (0.2.1)
137145
jekyll (>= 3.7, < 5.0)
138146
jekyll-last-modified-at (1.3.2)
@@ -147,7 +155,7 @@ GEM
147155
jekyll (>= 3.0, < 5.0)
148156
jekyll-redirect-from (0.16.0)
149157
jekyll (>= 3.3, < 5.0)
150-
jekyll-relative-links (0.6.1)
158+
jekyll-relative-links (0.7.0)
151159
jekyll (>= 3.3, < 5.0)
152160
jekyll-remote-theme (0.4.3)
153161
addressable (~> 2.0)
@@ -161,7 +169,7 @@ GEM
161169
jekyll-sitemap (1.4.0)
162170
jekyll (>= 3.7, < 5.0)
163171
jekyll-swiss (1.0.0)
164-
jekyll-tabs (1.1.1)
172+
jekyll-tabs (1.2.1)
165173
jekyll (>= 3.0, < 5.0)
166174
jekyll-theme-architect (0.2.0)
167175
jekyll (> 3.5, < 5.0)
@@ -207,69 +215,69 @@ GEM
207215
jekyll (>= 3.3, < 5.0)
208216
jekyll-watch (2.2.1)
209217
listen (~> 3.0)
210-
jemoji (0.12.0)
211-
gemoji (~> 3.0)
218+
jemoji (0.13.0)
219+
gemoji (>= 3, < 5)
212220
html-pipeline (~> 2.2)
213221
jekyll (>= 3.0, < 5.0)
214-
kramdown (2.3.2)
222+
json (2.15.2)
223+
kramdown (2.4.0)
215224
rexml
216225
kramdown-parser-gfm (1.1.0)
217226
kramdown (~> 2.0)
218227
liquid (4.0.4)
219-
listen (3.8.0)
228+
listen (3.9.0)
220229
rb-fsevent (~> 0.10, >= 0.10.3)
221230
rb-inotify (~> 0.9, >= 0.9.10)
231+
logger (1.7.0)
222232
mercenary (0.3.6)
223233
mini_portile2 (2.8.9)
224234
minima (2.5.1)
225235
jekyll (>= 3.5, < 5.0)
226236
jekyll-feed (~> 0.9)
227237
jekyll-seo-tag (~> 2.1)
228-
minitest (5.20.0)
229-
mutex_m (0.1.2)
230-
nokogiri (1.18.9)
238+
minitest (5.26.0)
239+
net-http (0.7.0)
240+
uri
241+
nokogiri (1.18.10)
231242
mini_portile2 (~> 2.8.2)
232243
racc (~> 1.4)
233-
nokogiri (1.18.9-arm64-darwin)
244+
nokogiri (1.18.10-arm64-darwin)
234245
racc (~> 1.4)
235-
nokogiri (1.18.9-x86_64-darwin)
246+
nokogiri (1.18.10-x86_64-darwin)
236247
racc (~> 1.4)
237248
octokit (4.25.1)
238249
faraday (>= 1, < 3)
239250
sawyer (~> 0.9)
240251
pathutil (0.16.2)
241252
forwardable-extended (~> 2.6)
242-
public_suffix (4.0.7)
253+
public_suffix (5.1.1)
243254
racc (1.8.1)
244255
rb-fsevent (0.11.2)
245-
rb-inotify (0.10.1)
256+
rb-inotify (0.11.1)
246257
ffi (~> 1.0)
247-
rexml (3.3.9)
248-
rouge (3.26.0)
249-
ruby2_keywords (0.0.5)
250-
rubyzip (2.3.2)
258+
rexml (3.4.4)
259+
rouge (3.30.0)
260+
rubyzip (2.4.1)
251261
safe_yaml (1.0.5)
252262
sass (3.7.4)
253263
sass-listen (~> 4.0.0)
254264
sass-listen (4.0.0)
255265
rb-fsevent (~> 0.9, >= 0.9.4)
256266
rb-inotify (~> 0.9, >= 0.9.7)
257-
sawyer (0.9.2)
267+
sawyer (0.9.3)
258268
addressable (>= 2.3.5)
259269
faraday (>= 0.17.3, < 3)
260-
simpleidn (0.2.1)
261-
unf (~> 0.1.4)
270+
securerandom (0.4.1)
271+
simpleidn (0.2.3)
262272
terminal-table (1.8.0)
263273
unicode-display_width (~> 1.1, >= 1.1.1)
264-
typhoeus (1.4.0)
274+
typhoeus (1.4.1)
265275
ethon (>= 0.9.0)
266276
tzinfo (2.0.6)
267277
concurrent-ruby (~> 1.0)
268-
unf (0.1.4)
269-
unf_ext
270-
unf_ext (0.0.8.2)
271278
unicode-display_width (1.8.0)
272-
webrick (1.8.2)
279+
uri (1.1.0)
280+
webrick (1.9.1)
273281

274282
PLATFORMS
275283
ruby

mcp/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ has_children: true
1515

1616
The Data Commons [Model Context Protocol (MCP)](https://modelcontextprotocol.io/docs/getting-started/intro) service gives AI agents access to the Data Commons knowledge graph and returns data related to statistical variables, topics, and observations. It allows end users to formulate complex natural-language queries interactively, get data in textual, structured or unstructured formats, and download the data as desired. For example, depending on the agent, a user can answer high-level questions such as "give me the economic indicators of the BRICS countries", view simple tables, and download a CSV file of the data in tabular format.
1717

18-
The MCP server returns data from datacommons.org by default or can be configured for a Custom Data Commons instance.
18+
The MCP server returns data from datacommons.org by default or can be configured to query a Custom Data Commons instance.
1919

2020
The server is a Python binary based on the [FastMCP 2.0 framework](https://gofastmcp.com). A prebuilt package is available at <https://pypi.org/project/datacommons-mcp/>.
2121

@@ -38,14 +38,15 @@ The server supports both standard MCP [transport protocols](https://modelcontext
3838
- Stdio: For clients that connect directly using local processes
3939
- Streamable HTTP: For clients that connect remotely or otherwise require HTTP (e.g. Typescript)
4040

41-
See [Run and connect to the server](run_tools.md) for procedures for using [Gemini CLI](https://github.com/google-gemini/gemini-cli).
41+
See [Run MCP tools](run_tools.md) for procedures for using [Gemini CLI](https://github.com/google-gemini/gemini-cli) and the [Gemini CLI Data Commons Extension](https://geminicli.com/extensions/).
4242

4343
## Unsupported features
4444

4545
At the current time, the following are not supported:
4646
- Non-geographical ("custom") entities
4747
- Events
4848
- Exploring nodes and relationships in the graph
49+
- Returning data formatted for graphic visualizations
4950

5051
## Disclaimer
5152

0 commit comments

Comments
 (0)